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.001311/0.001311, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.00155/0.00155, allocations: 219.8 kB / 23.05 MB, free: 5.074 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.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.8887/0.8887, allocations: 134 MB / 447.2 MB, free: 10.27 MB / 350.1 MB " [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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) [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.002021/0.002021, allocations: 65.84 kB / 0.6193 GB, free: 7.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1742, allocations: 85.91 MB / 0.7032 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6232/0.7974, allocations: 198.1 MB / 0.8967 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01249/0.8099, allocations: 6.964 MB / 0.9035 GB, free: 9.723 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.8119, allocations: 63.44 kB / 0.9035 GB, free: 9.66 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002315/0.8142, allocations: 0.7142 MB / 0.9042 GB, free: 8.941 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006651/0.8208, allocations: 2.478 MB / 0.9066 GB, free: 6.453 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003792/0.8246, allocations: 1.482 MB / 0.9081 GB, free: 4.996 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005172/0.8298, allocations: 3.053 MB / 0.9111 GB, free: 1.934 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.8316, allocations: 0.7124 MB / 0.9118 GB, free: 1.215 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003498/0.835, allocations: 1.178 MB / 0.9129 GB, free: 44 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002129/0.8372, allocations: 0.8537 MB / 0.9138 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003367/0.8375, allocations: 100 kB / 0.9139 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004626/0.8421, allocations: 2.202 MB / 0.916 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006795/0.8428, allocations: 378.7 kB / 0.9164 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.8438, allocations: 0.5908 MB / 0.9169 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004831/0.8487, allocations: 2.424 MB / 0.9193 GB, free: 9.496 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.8487, allocations: 4 kB / 0.9193 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.566e-06/0.8487, allocations: 7.922 kB / 0.9193 GB, free: 9.484 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.611e-05/0.8487, allocations: 0 / 0.9193 GB, free: 9.484 MB / 0.6856 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.004106/0.8528, allocations: 1.599 MB / 0.9209 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.8529, allocations: 8.031 kB / 0.9209 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.054e-05/0.8529, allocations: 21.31 kB / 0.9209 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001693/0.8531, allocations: 114.5 kB / 0.921 GB, free: 7.691 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/0.8562, allocations: 0.5415 MB / 0.9215 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002754/0.859, allocations: 0.9703 MB / 0.9225 GB, free: 6.148 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.849e-05/0.8591, allocations: 53.31 kB / 0.9225 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/0.8593, allocations: 71.94 kB / 0.9226 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/0.8621, allocations: 1.105 MB / 0.9237 GB, free: 4.895 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.8621, allocations: 0 / 0.9237 GB, free: 4.895 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.8623, allocations: 35.98 kB / 0.9237 GB, free: 4.859 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.091e-05/0.8623, allocations: 33.3 kB / 0.9238 GB, free: 4.828 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003477/0.8658, allocations: 1.157 MB / 0.9249 GB, free: 3.668 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007245/0.873, allocations: 3.122 MB / 0.9279 GB, free: 488 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/0.8751, allocations: 0.6628 MB / 0.9286 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008827/0.8759, allocations: 390.1 kB / 0.929 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000528/0.8765, allocations: 132.3 kB / 0.9291 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00118/0.8776, allocations: 0.5139 MB / 0.9296 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=57): time 3.106e-06/0.8776, allocations: 0 / 0.9296 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of matching and sorting (n=57): time 0.003498/0.8811, allocations: 1.237 MB / 0.9308 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.8813, allocations: 140.8 kB / 0.9309 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002366/0.8836, allocations: 1.184 MB / 0.9321 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001975/0.8838, allocations: 33.7 kB / 0.9321 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004661/0.8843, allocations: 445.8 kB / 0.9325 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.8845, allocations: 198.3 kB / 0.9327 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003283/0.8849, allocations: 146.2 kB / 0.9329 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.885, allocations: 326 kB / 0.9332 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.8864, allocations: 441 kB / 0.9336 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.888, allocations: 0.6004 MB / 0.9342 GB, free: 9.914 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002387/0.8904, allocations: 0.9293 MB / 0.9351 GB, free: 8.93 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.8904, allocations: 0 / 0.9351 GB, free: 8.93 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003593/0.894, allocations: 1.201 MB / 0.9363 GB, free: 7.715 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 7.136e-05/0.8941, allocations: 37.7 kB / 0.9363 GB, free: 7.672 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.8941, allocations: 8.219 kB / 0.9363 GB, free: 7.664 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/0.8941, allocations: 8 kB / 0.9363 GB, free: 7.656 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.8952, allocations: 187.7 kB / 0.9365 GB, free: 7.473 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.8952, allocations: 7.984 kB / 0.9365 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/0.8969, allocations: 247.1 kB / 0.9367 GB, free: 7.223 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/0.8971, allocations: 35.97 kB / 0.9368 GB, free: 7.188 MB / 0.7012 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.0006647/0.8978, allocations: 327.3 kB / 0.9371 GB, free: 6.852 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003444/0.8981, allocations: 127.2 kB / 0.9372 GB, free: 6.727 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/0.9006, allocations: 1.003 MB / 0.9382 GB, free: 5.715 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/0.9006, allocations: 7.984 kB / 0.9382 GB, free: 5.707 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.9006, allocations: 4 kB / 0.9382 GB, free: 5.703 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.9006, allocations: 0 / 0.9382 GB, free: 5.703 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005709/0.9063, allocations: 3.143 MB / 0.9413 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.9063, allocations: 4 kB / 0.9413 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006133/0.9069, allocations: 120.3 kB / 0.9414 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/0.9069, allocations: 8 kB / 0.9414 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.024e-05/0.907, allocations: 27.98 kB / 0.9414 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-05/0.907, allocations: 15.94 kB / 0.9414 GB, free: 2.242 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/0.907, allocations: 12.72 kB / 0.9414 GB, free: 2.23 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/0.9094, allocations: 1.355 MB / 0.9428 GB, free: 0.7617 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000612/0.91, allocations: 254.9 kB / 0.943 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.9102, allocations: 23.98 kB / 0.943 GB, free: 500 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.9113, allocations: 99.91 kB / 0.9431 GB, free: 400 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.9114, allocations: 67.73 kB / 0.9432 GB, free: 332 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.441e-05/0.9115, allocations: 39.97 kB / 0.9432 GB, free: 292 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001553/0.913, allocations: 0.8483 MB / 0.9441 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.913, allocations: 0 / 0.9441 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001119/0.9142, allocations: 303.6 kB / 0.9444 GB, free: 15.13 MB / 0.7169 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.003139/0.9173, allocations: 2.128 MB / 0.9464 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002519/0.9198, allocations: 0.978 MB / 0.9474 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.9198, allocations: 0 / 0.9474 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009631/0.9208, allocations: 480.3 kB / 0.9478 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002846/0.9236, allocations: 0.5525 MB / 0.9484 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/0.9415, allocations: 9.431 MB / 0.9576 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007842/0.9423, allocations: 1.061 MB / 0.9586 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001083/0.9434, allocations: 274 kB / 0.9589 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006193/0.944, allocations: 359.3 kB / 0.9592 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of SimCode: time 1.483e-06/0.944, allocations: 3.938 kB / 0.9592 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07175/1.016, allocations: 32.43 MB / 0.9909 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.64, allocations: 8.062 kB / 0.9909 GB, free: 15.22 MB / 0.7637 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.48073921701871] Failed to read output from testmodel.py, exit status != 0: 14.824516485910863 14.850853673 13.996755608 Calling exit ...