Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.098/1.098, allocations: 175.8 MB / 478.4 MB, free: 8.477 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 74.36 kB / 0.6652 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2043, allocations: 94.53 MB / 0.7575 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6624/0.8666, allocations: 194.8 MB / 0.9477 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01209/0.8787, allocations: 6.963 MB / 0.9545 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.8806, allocations: 47.69 kB / 0.9546 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.8826, allocations: 0.7064 MB / 0.9553 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006732/0.8893, allocations: 2.439 MB / 0.9576 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003718/0.893, allocations: 1.433 MB / 0.959 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004971/0.898, allocations: 2.985 MB / 0.962 GB, free: 6.574 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.8993, allocations: 0.7355 MB / 0.9627 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004243/0.9035, allocations: 1.59 MB / 0.9642 GB, free: 4.242 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.9049, allocations: 0.8374 MB / 0.9651 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.905, allocations: 100 kB / 0.9651 GB, free: 3.312 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003841/0.9089, allocations: 2.128 MB / 0.9672 GB, free: 1.18 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004108/0.9093, allocations: 378.7 kB / 0.9676 GB, free: 0.8086 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000642/0.9099, allocations: 0.5947 MB / 0.9682 GB, free: 216 kB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004046/0.914, allocations: 2.397 MB / 0.9705 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.914, allocations: 4 kB / 0.9705 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.152e-06/0.914, allocations: 0 / 0.9705 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.495e-05/0.914, allocations: 0 / 0.9705 GB, free: 13.81 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003556/0.9176, allocations: 1.666 MB / 0.9721 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.9176, allocations: 12.03 kB / 0.9722 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001485/0.9177, allocations: 114.5 kB / 0.9723 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002911/0.9207, allocations: 0.5377 MB / 0.9728 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002396/0.9231, allocations: 1.046 MB / 0.9738 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.596e-05/0.9231, allocations: 53.3 kB / 0.9739 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.9233, allocations: 79.94 kB / 0.9739 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/0.9257, allocations: 1.101 MB / 0.975 GB, free: 9.062 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.9257, allocations: 4 kB / 0.975 GB, free: 9.059 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.498e-05/0.9258, allocations: 27.98 kB / 0.975 GB, free: 9.031 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.415e-05/0.9258, allocations: 33.3 kB / 0.9751 GB, free: 9 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003077/0.9289, allocations: 1.16 MB / 0.9762 GB, free: 7.836 MB / 0.7637 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005925/0.9348, allocations: 3.179 MB / 0.9793 GB, free: 4.578 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.9365, allocations: 0.6529 MB / 0.9799 GB, free: 3.914 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007714/0.9373, allocations: 390.2 kB / 0.9803 GB, free: 3.531 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009964/0.9383, allocations: 1.025 MB / 0.9813 GB, free: 2.285 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/0.9393, allocations: 0.5143 MB / 0.9818 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=57): time 2.575e-06/0.9393, allocations: 0 / 0.9818 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of matching and sorting (n=57): time 0.003011/0.9423, allocations: 1.233 MB / 0.983 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.9424, allocations: 140.9 kB / 0.9832 GB, free: 340 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.9445, allocations: 1.18 MB / 0.9843 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.425e-05/0.9446, allocations: 41.7 kB / 0.9844 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004118/0.945, allocations: 437.8 kB / 0.9848 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.9451, allocations: 194.2 kB / 0.985 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/0.9454, allocations: 146.1 kB / 0.9851 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.9456, allocations: 330 kB / 0.9854 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.9468, allocations: 440.9 kB / 0.9858 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.9481, allocations: 0.6054 MB / 0.9864 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.9501, allocations: 0.9184 MB / 0.9873 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.9501, allocations: 4 kB / 0.9873 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003078/0.9532, allocations: 1.199 MB / 0.9885 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.26e-05/0.9533, allocations: 41.69 kB / 0.9885 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.9533, allocations: 7.938 kB / 0.9885 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.9533, allocations: 7.938 kB / 0.9885 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009373/0.9542, allocations: 187.9 kB / 0.9887 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.9543, allocations: 11.94 kB / 0.9887 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.9557, allocations: 248.6 kB / 0.989 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-05/0.9558, allocations: 35.98 kB / 0.989 GB, free: 10.18 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000558/0.9564, allocations: 333.9 kB / 0.9893 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.9566, allocations: 119.2 kB / 0.9894 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/0.9588, allocations: 0.9969 MB / 0.9904 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.9588, allocations: 8.047 kB / 0.9904 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.9588, allocations: 3.984 kB / 0.9904 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.9588, allocations: 7.984 kB / 0.9904 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005265/0.9641, allocations: 3.166 MB / 0.9935 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/0.9641, allocations: 11.98 kB / 0.9935 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005808/0.9647, allocations: 120.7 kB / 0.9937 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.9647, allocations: 8 kB / 0.9937 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-05/0.9647, allocations: 28.11 kB / 0.9937 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/0.9647, allocations: 12 kB / 0.9937 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.026e-06/0.9647, allocations: 15.94 kB / 0.9937 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.9671, allocations: 1.361 MB / 0.995 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006532/0.9677, allocations: 336 kB / 0.9954 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.9679, allocations: 24 kB / 0.9954 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.9689, allocations: 99.89 kB / 0.9955 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.9691, allocations: 63.7 kB / 0.9955 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.84e-05/0.9691, allocations: 39.97 kB / 0.9956 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001519/0.9707, allocations: 0.8521 MB / 0.9964 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of sort global known variables: time 6.1e-08/0.9707, allocations: 0 / 0.9964 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001076/0.9717, allocations: 299.6 kB / 0.9967 GB, free: 1.984 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003222/0.975, allocations: 2.137 MB / 0.9988 GB, free: 15.74 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00237/0.9773, allocations: 0.9704 MB / 0.9997 GB, free: 14.75 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.9773, allocations: 0 / 0.9997 GB, free: 14.75 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0009429/0.9783, allocations: 488.5 kB / 1 GB, free: 14.27 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/0.9809, allocations: 0.5481 MB / 1.001 GB, free: 13.73 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/0.9975, allocations: 9.415 MB / 1.01 GB, free: 3.914 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000769/0.9983, allocations: 1.073 MB / 1.011 GB, free: 2.805 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001072/0.9994, allocations: 270.5 kB / 1.011 GB, free: 2.539 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005278/0.9999, allocations: 363.3 kB / 1.012 GB, free: 2.184 MB / 0.795 GB Notification: Performance of SimCode: time 9.72e-07/0.9999, allocations: 0 / 1.012 GB, free: 2.184 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06724/1.067, allocations: 31.89 MB / 1.043 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/12.38, allocations: 7.219 kB / 1.043 GB, free: 2.664 MB / 0.8262 GB " [Timeout remaining time 648] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.39025809476152] Failed to read output from testmodel.py, exit status != 0: 12.475518975406885 12.504533957 11.58518859 Calling exit ...