Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001345/0.001345, allocations: 115.7 kB / 17.17 MB, free: 5.977 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.001481/0.001481, allocations: 219 kB / 20.13 MB, free: 3.035 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.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.716/2.716, allocations: 476.7 MB / 0.7678 GB, free: 9.406 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_11_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.002013/0.002013, allocations: 71.91 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9085/0.9105, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2454/1.156, allocations: 197.7 MB / 1.472 GB, free: 6.051 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01246/1.168, allocations: 6.96 MB / 1.479 GB, free: 15.08 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00184/1.17, allocations: 67.38 kB / 1.479 GB, free: 15.01 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002176/1.172, allocations: 0.7064 MB / 1.48 GB, free: 14.3 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006789/1.179, allocations: 2.443 MB / 1.482 GB, free: 11.85 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003842/1.183, allocations: 1.434 MB / 1.483 GB, free: 10.43 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004753/1.188, allocations: 2.99 MB / 1.486 GB, free: 7.434 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/1.189, allocations: 0.7318 MB / 1.487 GB, free: 6.688 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003228/1.193, allocations: 1.172 MB / 1.488 GB, free: 5.516 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001938/1.194, allocations: 0.8576 MB / 1.489 GB, free: 4.664 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003392/1.195, allocations: 96 kB / 1.489 GB, free: 4.57 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005765/1.201, allocations: 2.171 MB / 1.491 GB, free: 2.395 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006576/1.201, allocations: 378.6 kB / 1.492 GB, free: 2.023 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0009867/1.202, allocations: 0.5831 MB / 1.492 GB, free: 1.438 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004835/1.207, allocations: 2.398 MB / 1.494 GB, free: 15.03 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.207, allocations: 0 / 1.494 GB, free: 15.03 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.863e-06/1.207, allocations: 4 kB / 1.494 GB, free: 15.03 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.496e-05/1.207, allocations: 0 / 1.494 GB, free: 15.03 MB / 1.186 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.003928/1.211, allocations: 1.677 MB / 1.496 GB, free: 13.29 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/1.211, allocations: 11.97 kB / 1.496 GB, free: 13.28 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.358e-05/1.211, allocations: 17.31 kB / 1.496 GB, free: 13.26 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001562/1.211, allocations: 110.5 kB / 1.496 GB, free: 13.14 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00312/1.214, allocations: 0.5416 MB / 1.497 GB, free: 12.6 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/1.217, allocations: 1.046 MB / 1.498 GB, free: 11.51 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.199e-05/1.217, allocations: 61.25 kB / 1.498 GB, free: 11.45 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/1.217, allocations: 71.98 kB / 1.498 GB, free: 11.38 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/1.22, allocations: 1.101 MB / 1.499 GB, free: 10.25 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/1.22, allocations: 3.938 kB / 1.499 GB, free: 10.25 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.411e-05/1.22, allocations: 28 kB / 1.499 GB, free: 10.22 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-05/1.22, allocations: 37.3 kB / 1.499 GB, free: 10.18 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003244/1.223, allocations: 1.157 MB / 1.5 GB, free: 9.027 MB / 1.186 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.006042/1.229, allocations: 3.183 MB / 1.503 GB, free: 5.766 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/1.231, allocations: 0.649 MB / 1.504 GB, free: 5.109 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008493/1.232, allocations: 390.2 kB / 1.504 GB, free: 4.727 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/1.233, allocations: 1.025 MB / 1.505 GB, free: 3.48 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/1.234, allocations: 0.5143 MB / 1.506 GB, free: 2.941 MB / 1.186 GB Notification: Performance of pre-optimization done (n=57): time 3.046e-06/1.234, allocations: 0 / 1.506 GB, free: 2.941 MB / 1.186 GB Notification: Performance of matching and sorting (n=57): time 0.003269/1.237, allocations: 1.233 MB / 1.507 GB, free: 1.695 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/1.237, allocations: 136.9 kB / 1.507 GB, free: 1.531 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/1.239, allocations: 1.18 MB / 1.508 GB, free: 344 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 9.86e-05/1.239, allocations: 37.7 kB / 1.508 GB, free: 300 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004407/1.24, allocations: 445.9 kB / 1.509 GB, free: 15.85 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/1.24, allocations: 198.2 kB / 1.509 GB, free: 15.66 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/1.24, allocations: 142.1 kB / 1.509 GB, free: 15.51 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.241, allocations: 330 kB / 1.509 GB, free: 15.18 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/1.242, allocations: 436.9 kB / 1.51 GB, free: 14.75 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/1.243, allocations: 0.5977 MB / 1.51 GB, free: 14.11 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002277/1.246, allocations: 0.9301 MB / 1.511 GB, free: 13.12 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.246, allocations: 0 / 1.511 GB, free: 13.12 MB / 1.201 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003419/1.249, allocations: 1.206 MB / 1.512 GB, free: 11.9 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/1.249, allocations: 37.7 kB / 1.513 GB, free: 11.86 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.249, allocations: 0 / 1.513 GB, free: 11.86 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/1.249, allocations: 11.94 kB / 1.513 GB, free: 11.85 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009772/1.25, allocations: 188 kB / 1.513 GB, free: 11.66 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/1.25, allocations: 7.984 kB / 1.513 GB, free: 11.66 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/1.252, allocations: 243.1 kB / 1.513 GB, free: 11.42 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/1.252, allocations: 43.97 kB / 1.513 GB, free: 11.38 MB / 1.201 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.0005717/1.252, allocations: 319.4 kB / 1.513 GB, free: 11.05 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/1.253, allocations: 127.2 kB / 1.513 GB, free: 10.92 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00237/1.255, allocations: 1.007 MB / 1.514 GB, free: 9.914 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/1.255, allocations: 15.94 kB / 1.514 GB, free: 9.898 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.255, allocations: 0 / 1.514 GB, free: 9.898 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/1.255, allocations: 3.984 kB / 1.514 GB, free: 9.895 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005615/1.261, allocations: 3.154 MB / 1.517 GB, free: 6.586 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/1.261, allocations: 8 kB / 1.518 GB, free: 6.578 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006203/1.261, allocations: 115.8 kB / 1.518 GB, free: 6.465 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-05/1.261, allocations: 12 kB / 1.518 GB, free: 6.453 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-05/1.261, allocations: 32.14 kB / 1.518 GB, free: 6.422 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.475e-05/1.261, allocations: 11.94 kB / 1.518 GB, free: 6.41 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.261e-05/1.262, allocations: 11.94 kB / 1.518 GB, free: 6.398 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/1.264, allocations: 1.349 MB / 1.519 GB, free: 4.926 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000601/1.265, allocations: 344 kB / 1.519 GB, free: 4.57 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/1.265, allocations: 27.98 kB / 1.519 GB, free: 4.543 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/1.266, allocations: 95.91 kB / 1.519 GB, free: 4.449 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.266, allocations: 63.94 kB / 1.52 GB, free: 4.387 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.215e-05/1.266, allocations: 43.97 kB / 1.52 GB, free: 4.344 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001629/1.268, allocations: 0.8482 MB / 1.52 GB, free: 3.488 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/1.268, allocations: 0 / 1.52 GB, free: 3.488 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001245/1.269, allocations: 299.6 kB / 1.521 GB, free: 3.195 MB / 1.201 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.003615/1.273, allocations: 2.129 MB / 1.523 GB, free: 0.9453 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002583/1.275, allocations: 0.9672 MB / 1.524 GB, free: 15.97 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.275, allocations: 0 / 1.524 GB, free: 15.97 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009982/1.276, allocations: 488.8 kB / 1.524 GB, free: 15.48 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/1.279, allocations: 0.5548 MB / 1.525 GB, free: 14.94 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01848/1.298, allocations: 9.411 MB / 1.534 GB, free: 5.121 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008668/1.299, allocations: 1.073 MB / 1.535 GB, free: 4.012 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001092/1.3, allocations: 275.5 kB / 1.535 GB, free: 3.742 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005918/1.3, allocations: 355.3 kB / 1.536 GB, free: 3.395 MB / 1.217 GB Notification: Performance of SimCode: time 1.363e-06/1.3, allocations: 0 / 1.536 GB, free: 3.395 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06567/1.366, allocations: 31.91 MB / 1.567 GB, free: 3.898 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/12.02, allocations: 12.36 kB / 1.567 GB, free: 3.891 MB / 1.248 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.0874701779685] Failed to read output from testmodel.py, exit status != 0: 12.171517554030288 12.189367678 10.978994453 Calling exit ...