Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 78.64 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 159.7 kB / 23.01 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 177.2 MB / 203.4 MB, free: 9.031 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8285/0.8285, allocations: 101.3 MB / 361.1 MB, free: 9.605 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 64.22 kB / 0.5356 GB, free: 5.305 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1815, allocations: 85.88 MB / 0.6195 GB, free: 1.613 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5896/0.7711, allocations: 171.9 MB / 0.7873 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0113/0.7824, allocations: 6.552 MB / 0.7937 GB, free: 14.37 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.7838, allocations: 66.31 kB / 0.7938 GB, free: 14.33 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.7858, allocations: 0.694 MB / 0.7945 GB, free: 13.75 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 0.006572/0.7923, allocations: 2.41 MB / 0.7968 GB, free: 11.94 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.003787/0.7961, allocations: 1.452 MB / 0.7983 GB, free: 10.85 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.004548/0.8007, allocations: 3.02 MB / 0.8012 GB, free: 9.062 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.8022, allocations: 0.7032 MB / 0.8019 GB, free: 8.566 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003084/0.8053, allocations: 1.191 MB / 0.803 GB, free: 7.871 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.8071, allocations: 0.8104 MB / 0.8038 GB, free: 7.395 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.0002083/0.8073, allocations: 105.5 kB / 0.8039 GB, free: 7.391 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003481/0.8108, allocations: 1.688 MB / 0.8056 GB, free: 6.477 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.0004683/0.8112, allocations: 371.1 kB / 0.8059 GB, free: 6.215 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.0006748/0.8119, allocations: 490.7 kB / 0.8064 GB, free: 5.918 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.003705/0.8156, allocations: 2.37 MB / 0.8087 GB, free: 4.402 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.8156, allocations: 2.219 kB / 0.8087 GB, free: 4.402 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8156, allocations: 0 / 0.8087 GB, free: 4.402 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 1.549e-05/0.8156, allocations: 0 / 0.8087 GB, free: 4.402 MB / 0.6388 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.003532/0.8192, allocations: 1.603 MB / 0.8103 GB, free: 2.93 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.8192, allocations: 8.031 kB / 0.8103 GB, free: 2.922 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003145/0.8223, allocations: 0.5416 MB / 0.8108 GB, free: 2.379 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00256/0.8249, allocations: 0.9741 MB / 0.8118 GB, free: 1.379 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.691e-05/0.825, allocations: 57.3 kB / 0.8118 GB, free: 1.32 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.8251, allocations: 68.88 kB / 0.8119 GB, free: 1.254 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002687/0.8278, allocations: 1.238 MB / 0.8131 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.8278, allocations: 11.88 kB / 0.8131 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.872e-05/0.8279, allocations: 28 kB / 0.8131 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.839e-05/0.828, allocations: 33.31 kB / 0.8132 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003273/0.8313, allocations: 1.186 MB / 0.8143 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005921/0.8372, allocations: 2.706 MB / 0.817 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.839, allocations: 0.6819 MB / 0.8176 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008622/0.8398, allocations: 426.2 kB / 0.8181 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004873/0.8403, allocations: 132.4 kB / 0.8182 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001183/0.8415, allocations: 0.6437 MB / 0.8188 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=57): time 2.104e-06/0.8415, allocations: 4 kB / 0.8188 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of matching and sorting (n=57): time 0.003177/0.8447, allocations: 1.273 MB / 0.8201 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.858e-05/0.8448, allocations: 140.9 kB / 0.8202 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.8464, allocations: 0.8955 MB / 0.8211 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.002e-05/0.8464, allocations: 37.7 kB / 0.8211 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004202/0.8469, allocations: 460.5 kB / 0.8215 GB, free: 7.109 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.8471, allocations: 202.2 kB / 0.8217 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.8473, allocations: 146.2 kB / 0.8219 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.8475, allocations: 330 kB / 0.8222 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.8489, allocations: 470.7 kB / 0.8226 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.8506, allocations: 0.9785 MB / 0.8236 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002262/0.8529, allocations: 0.9338 MB / 0.8245 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.8529, allocations: 0 / 0.8245 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003313/0.8562, allocations: 1.218 MB / 0.8257 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.765e-05/0.8562, allocations: 37.69 kB / 0.8257 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.8562, allocations: 4 kB / 0.8257 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.8563, allocations: 4 kB / 0.8257 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.8573, allocations: 192 kB / 0.8259 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.8573, allocations: 11.94 kB / 0.8259 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.8587, allocations: 219 kB / 0.8261 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.502e-05/0.8588, allocations: 31.98 kB / 0.8262 GB, free: 2.129 MB / 0.6544 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.0005182/0.8593, allocations: 327.3 kB / 0.8265 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.8595, allocations: 95.44 kB / 0.8266 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/0.8618, allocations: 1.008 MB / 0.8276 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.8618, allocations: 15.92 kB / 0.8276 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.8618, allocations: 3.938 kB / 0.8276 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.8618, allocations: 3.938 kB / 0.8276 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005083/0.8669, allocations: 2.931 MB / 0.8304 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.8669, allocations: 8 kB / 0.8304 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006239/0.8676, allocations: 120.3 kB / 0.8306 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.475e-05/0.8676, allocations: 12 kB / 0.8306 GB, free: 13.44 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.734e-05/0.8676, allocations: 23.98 kB / 0.8306 GB, free: 13.42 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.6e-05/0.8676, allocations: 23.92 kB / 0.8306 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.896e-06/0.8677, allocations: 11.94 kB / 0.8306 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/0.8701, allocations: 1.364 MB / 0.832 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004981/0.8706, allocations: 219.1 kB / 0.8322 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.8707, allocations: 23.98 kB / 0.8322 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.8718, allocations: 103.9 kB / 0.8323 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.8719, allocations: 59.73 kB / 0.8324 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.357e-05/0.872, allocations: 43.97 kB / 0.8324 GB, free: 11.45 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001267/0.8733, allocations: 0.6395 MB / 0.833 GB, free: 10.82 MB / 0.67 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8733, allocations: 0 / 0.833 GB, free: 10.82 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001116/0.8744, allocations: 323.3 kB / 0.8333 GB, free: 10.5 MB / 0.67 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.0005759/0.8749, allocations: 330.2 kB / 0.8336 GB, free: 10.17 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002606/0.8776, allocations: 1.044 MB / 0.8347 GB, free: 9.105 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.8776, allocations: 0 / 0.8347 GB, free: 9.105 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.8786, allocations: 0.5025 MB / 0.8352 GB, free: 8.586 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/0.8806, allocations: 386.5 kB / 0.8355 GB, free: 8.223 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.8843, allocations: 2.051 MB / 0.8375 GB, free: 6.031 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000577/0.8849, allocations: 485.6 kB / 0.838 GB, free: 5.527 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007952/0.8857, allocations: 233.4 kB / 0.8382 GB, free: 5.301 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.8859, allocations: 68.47 kB / 0.8383 GB, free: 5.234 MB / 0.67 GB Notification: Performance of SimCode: time 7.11e-07/0.8859, allocations: 0 / 0.8383 GB, free: 5.234 MB / 0.67 GB Notification: Performance of Templates: time 0.03455/0.9205, allocations: 17.94 MB / 0.8558 GB, free: 3.582 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.626337861991487] Failed to read output from testmodel.py, exit status != 0: 0.9293377680005506 0.94691937 0.127652699 Calling exit ...