Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001823/0.001823, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002402/0.002402, allocations: 218.7 kB / 23.03 MB, free: 4.949 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.027/3.027, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002008/0.002008, allocations: 62.98 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3409, allocations: 176.1 MB / 1.327 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1993/0.5402, allocations: 171.8 MB / 1.494 GB, free: 5.062 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01104/0.5512, allocations: 6.541 MB / 1.501 GB, free: 14.51 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.5529, allocations: 59.44 kB / 1.501 GB, free: 14.45 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002097/0.555, allocations: 0.6986 MB / 1.502 GB, free: 13.75 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.006442/0.5614, allocations: 2.416 MB / 1.504 GB, free: 11.32 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003593/0.565, allocations: 1.478 MB / 1.505 GB, free: 9.867 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004391/0.5694, allocations: 3.037 MB / 1.508 GB, free: 6.82 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.5708, allocations: 0.7049 MB / 1.509 GB, free: 6.102 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004187/0.575, allocations: 1.64 MB / 1.511 GB, free: 4.461 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001823/0.5768, allocations: 0.8324 MB / 1.511 GB, free: 3.633 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000303/0.5771, allocations: 100 kB / 1.511 GB, free: 3.535 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003585/0.5807, allocations: 1.691 MB / 1.513 GB, free: 1.84 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005616/0.5812, allocations: 378.7 kB / 1.514 GB, free: 1.469 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008991/0.5821, allocations: 481.6 kB / 1.514 GB, free: 0.9961 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004282/0.5864, allocations: 2.336 MB / 1.516 GB, free: 14.65 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.5864, allocations: 4 kB / 1.516 GB, free: 14.65 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5864, allocations: 0 / 1.516 GB, free: 14.65 MB / 1.217 GB Notification: Performance of Transformations before backend: time 4.595e-05/0.5865, allocations: 4 kB / 1.516 GB, free: 14.64 MB / 1.217 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.004357/0.5908, allocations: 1.594 MB / 1.518 GB, free: 13.01 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.5909, allocations: 12.03 kB / 1.518 GB, free: 13 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.941e-05/0.5909, allocations: 21.25 kB / 1.518 GB, free: 12.98 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002282/0.5911, allocations: 110.5 kB / 1.518 GB, free: 12.86 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003104/0.5942, allocations: 0.5455 MB / 1.518 GB, free: 12.31 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002451/0.5967, allocations: 0.9664 MB / 1.519 GB, free: 11.31 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.427e-05/0.5968, allocations: 49.31 kB / 1.519 GB, free: 11.27 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.5969, allocations: 68 kB / 1.52 GB, free: 11.2 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/0.5996, allocations: 1.246 MB / 1.521 GB, free: 9.895 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.5996, allocations: 0 / 1.521 GB, free: 9.895 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.724e-05/0.5997, allocations: 27.98 kB / 1.521 GB, free: 9.867 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-05/0.5997, allocations: 37.25 kB / 1.521 GB, free: 9.828 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003074/0.6028, allocations: 1.193 MB / 1.522 GB, free: 8.629 MB / 1.217 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.006148/0.6089, allocations: 2.887 MB / 1.525 GB, free: 5.676 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.6107, allocations: 0.674 MB / 1.525 GB, free: 4.984 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007902/0.6115, allocations: 425 kB / 1.526 GB, free: 4.562 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005009/0.612, allocations: 132.3 kB / 1.526 GB, free: 4.434 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.6131, allocations: 0.6511 MB / 1.527 GB, free: 3.727 MB / 1.217 GB Notification: Performance of pre-optimization done (n=57): time 2.726e-06/0.6131, allocations: 0 / 1.527 GB, free: 3.727 MB / 1.217 GB Notification: Performance of matching and sorting (n=57): time 0.003076/0.6161, allocations: 1.287 MB / 1.528 GB, free: 2.414 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.728e-05/0.6162, allocations: 144.8 kB / 1.528 GB, free: 2.242 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.6181, allocations: 1.172 MB / 1.529 GB, free: 1.055 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.042e-05/0.6182, allocations: 45.7 kB / 1.529 GB, free: 1.004 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004017/0.6186, allocations: 445.8 kB / 1.53 GB, free: 0.5625 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.6188, allocations: 198.3 kB / 1.53 GB, free: 376 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/0.6191, allocations: 142.2 kB / 1.53 GB, free: 224 kB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.6193, allocations: 334 kB / 1.53 GB, free: 15.89 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.6205, allocations: 470.7 kB / 1.531 GB, free: 15.42 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.6222, allocations: 0.9745 MB / 1.532 GB, free: 14.3 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/0.6244, allocations: 0.9293 MB / 1.533 GB, free: 13.32 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.6244, allocations: 4 kB / 1.533 GB, free: 13.31 MB / 1.232 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003199/0.6276, allocations: 1.25 MB / 1.534 GB, free: 12.05 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 6.075e-05/0.6276, allocations: 33.7 kB / 1.534 GB, free: 12.01 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.6277, allocations: 4 kB / 1.534 GB, free: 12 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/0.6277, allocations: 4 kB / 1.534 GB, free: 12 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009666/0.6287, allocations: 191.9 kB / 1.534 GB, free: 11.81 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.6287, allocations: 7.984 kB / 1.534 GB, free: 11.8 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.6302, allocations: 247.1 kB / 1.534 GB, free: 11.56 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.6303, allocations: 43.97 kB / 1.534 GB, free: 11.52 MB / 1.232 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.0005343/0.6309, allocations: 323.3 kB / 1.535 GB, free: 11.19 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/0.6311, allocations: 127.2 kB / 1.535 GB, free: 11.06 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/0.6333, allocations: 1.032 MB / 1.536 GB, free: 10.02 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.6333, allocations: 11.94 kB / 1.536 GB, free: 10.01 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.6333, allocations: 0 / 1.536 GB, free: 10.01 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.6333, allocations: 3.984 kB / 1.536 GB, free: 10 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005058/0.6384, allocations: 2.999 MB / 1.539 GB, free: 6.852 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.996e-05/0.6384, allocations: 8 kB / 1.539 GB, free: 6.844 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006032/0.639, allocations: 127.9 kB / 1.539 GB, free: 6.719 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/0.639, allocations: 8 kB / 1.539 GB, free: 6.711 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.736e-05/0.6391, allocations: 27.98 kB / 1.539 GB, free: 6.684 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-05/0.6391, allocations: 11.94 kB / 1.539 GB, free: 6.672 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/0.6391, allocations: 15.94 kB / 1.539 GB, free: 6.656 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/0.6415, allocations: 1.388 MB / 1.54 GB, free: 5.141 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006782/0.6422, allocations: 266.8 kB / 1.541 GB, free: 4.879 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.6424, allocations: 24 kB / 1.541 GB, free: 4.855 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.6436, allocations: 107.9 kB / 1.541 GB, free: 4.75 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.6437, allocations: 63.61 kB / 1.541 GB, free: 4.688 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.016e-05/0.6438, allocations: 35.97 kB / 1.541 GB, free: 4.652 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001597/0.6454, allocations: 0.8443 MB / 1.542 GB, free: 3.801 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6454, allocations: 4 kB / 1.542 GB, free: 3.797 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001139/0.6465, allocations: 303.6 kB / 1.542 GB, free: 3.5 MB / 1.232 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.003148/0.6497, allocations: 2.163 MB / 1.544 GB, free: 1.211 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002428/0.6521, allocations: 1.036 MB / 1.545 GB, free: 156 kB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/0.6521, allocations: 4 kB / 1.545 GB, free: 152 kB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.6531, allocations: 0.5122 MB / 1.545 GB, free: 15.62 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/0.6559, allocations: 0.5517 MB / 1.546 GB, free: 15.07 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01691/0.6728, allocations: 9.588 MB / 1.555 GB, free: 5.059 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/0.6733, allocations: 478.6 kB / 1.556 GB, free: 4.555 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009939/0.6743, allocations: 275.9 kB / 1.556 GB, free: 4.285 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005709/0.6749, allocations: 359.3 kB / 1.556 GB, free: 3.934 MB / 1.248 GB Notification: Performance of SimCode: time 7.01e-07/0.6749, allocations: 0 / 1.556 GB, free: 3.934 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06567/0.7405, allocations: 34.17 MB / 1.59 GB, free: 2.398 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.33, allocations: 6.094 kB / 1.59 GB, free: 2.395 MB / 1.279 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 20.81276000197977] Failed to read output from testmodel.py, exit status != 0: 14.520786031964235 14.546646193 13.955210139 Calling exit ...