Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.000946/0.000946, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001119/0.001119, allocations: 174.3 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.9148/0.9148, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5595/0.5595, allocations: 114 MB / 373.9 MB, free: 8.719 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.5542 GB, free: 1.68 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.034e-05, allocations: 3.688 kB / 0.5542 GB, free: 1.676 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4368/0.4368, allocations: 171.6 MB / 0.7218 GB, free: 13 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.007942/0.4448, allocations: 6.523 MB / 0.7282 GB, free: 7.957 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.4462, allocations: 61.72 kB / 0.7282 GB, free: 7.922 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.4479, allocations: 0.6967 MB / 0.7289 GB, free: 7.332 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.005222/0.4532, allocations: 2.456 MB / 0.7313 GB, free: 5.473 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002716/0.4559, allocations: 1.501 MB / 0.7328 GB, free: 4.352 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003714/0.4596, allocations: 2.91 MB / 0.7356 GB, free: 2.609 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.4608, allocations: 0.6415 MB / 0.7362 GB, free: 2.145 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00425/0.4651, allocations: 1.927 MB / 0.7381 GB, free: 0.9062 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.4665, allocations: 0.7157 MB / 0.7388 GB, free: 0.5156 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002429/0.4668, allocations: 98.56 kB / 0.7389 GB, free: 0.5156 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002932/0.4697, allocations: 1.681 MB / 0.7406 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0005044/0.4702, allocations: 391.8 kB / 0.7409 GB, free: 15.33 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0006349/0.4708, allocations: 395.9 kB / 0.7413 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.004211/0.475, allocations: 2.436 MB / 0.7437 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.475, allocations: 0 / 0.7437 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.983e-06/0.475, allocations: 7.875 kB / 0.7437 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.605e-05/0.4751, allocations: 0 / 0.7437 GB, free: 13.55 MB / 0.5886 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.002684/0.4778, allocations: 1.55 MB / 0.7452 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.4778, allocations: 15.38 kB / 0.7452 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/0.4779, allocations: 114 kB / 0.7453 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.4795, allocations: 0.5418 MB / 0.7459 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.4812, allocations: 0.9377 MB / 0.7468 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/0.4813, allocations: 57.09 kB / 0.7468 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.507e-05/0.4814, allocations: 65.16 kB / 0.7469 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.4831, allocations: 1.243 MB / 0.7481 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.4831, allocations: 3.938 kB / 0.7481 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.749e-05/0.4832, allocations: 25.62 kB / 0.7481 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.302e-05/0.4832, allocations: 28.16 kB / 0.7482 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.485, allocations: 1.189 MB / 0.7493 GB, free: 9.844 MB / 0.5886 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.003868/0.4889, allocations: 2.859 MB / 0.7521 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.4899, allocations: 0.6816 MB / 0.7528 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004957/0.4904, allocations: 431.1 kB / 0.7532 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003047/0.4907, allocations: 134.4 kB / 0.7533 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000732/0.4915, allocations: 0.6438 MB / 0.7539 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=57): time 3.025e-06/0.4915, allocations: 0 / 0.7539 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of matching and sorting (n=57): time 0.001964/0.4934, allocations: 1.289 MB / 0.7552 GB, free: 5.918 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.4936, allocations: 147.2 kB / 0.7553 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.4949, allocations: 1.172 MB / 0.7565 GB, free: 5.109 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.4951, allocations: 35.17 kB / 0.7565 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.4954, allocations: 427.9 kB / 0.7569 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.4955, allocations: 198.9 kB / 0.7571 GB, free: 4.531 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.4957, allocations: 145.8 kB / 0.7573 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.54e-05/0.4958, allocations: 330.3 kB / 0.7576 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008751/0.4967, allocations: 469.8 kB / 0.758 GB, free: 3.746 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009276/0.4976, allocations: 0.9746 MB / 0.759 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.4988, allocations: 0.949 MB / 0.7599 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.4988, allocations: 0 / 0.7599 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001947/0.5007, allocations: 1.234 MB / 0.7611 GB, free: 384 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001876/0.5009, allocations: 45.72 kB / 0.7611 GB, free: 332 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.5009, allocations: 4 kB / 0.7612 GB, free: 328 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.5009, allocations: 4 kB / 0.7612 GB, free: 324 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.5014, allocations: 187.7 kB / 0.7613 GB, free: 136 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.5014, allocations: 7.938 kB / 0.7613 GB, free: 128 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009215/0.5024, allocations: 254.6 kB / 0.7616 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.996e-05/0.5024, allocations: 39.97 kB / 0.7616 GB, free: 15.84 MB / 0.6042 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.000427/0.5029, allocations: 327.3 kB / 0.7619 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.503, allocations: 123.2 kB / 0.7621 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.5043, allocations: 1.025 MB / 0.7631 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.5044, allocations: 12 kB / 0.7631 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.5044, allocations: 0 / 0.7631 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.5044, allocations: 7.922 kB / 0.7631 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003436/0.5078, allocations: 3.006 MB / 0.766 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.587e-06/0.5078, allocations: 8 kB / 0.766 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.5081, allocations: 111.8 kB / 0.7661 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.5081, allocations: 12.19 kB / 0.7661 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/0.5082, allocations: 31.98 kB / 0.7662 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.5082, allocations: 11.94 kB / 0.7662 GB, free: 11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.5082, allocations: 11.94 kB / 0.7662 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.5097, allocations: 1.372 MB / 0.7675 GB, free: 9.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/0.5102, allocations: 262.9 kB / 0.7678 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.804e-05/0.5103, allocations: 24 kB / 0.7678 GB, free: 9.199 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000565/0.5109, allocations: 95.89 kB / 0.7679 GB, free: 9.105 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/0.5109, allocations: 63.75 kB / 0.768 GB, free: 9.043 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/0.5111, allocations: 43.97 kB / 0.768 GB, free: 9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009398/0.5121, allocations: 0.8318 MB / 0.7688 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5121, allocations: 0 / 0.7688 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000848/0.5129, allocations: 303.6 kB / 0.7691 GB, free: 7.863 MB / 0.6042 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.002042/0.515, allocations: 2.144 MB / 0.7712 GB, free: 5.594 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.5164, allocations: 1.04 MB / 0.7722 GB, free: 4.531 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.5165, allocations: 4 kB / 0.7722 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005638/0.517, allocations: 0.5025 MB / 0.7727 GB, free: 4.004 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.5187, allocations: 0.5137 MB / 0.7732 GB, free: 3.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.5305, allocations: 9.526 MB / 0.7825 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.5309, allocations: 486.2 kB / 0.783 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008058/0.5317, allocations: 263 kB / 0.7832 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003879/0.5321, allocations: 352.4 kB / 0.7836 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of SimCode: time 1.432e-06/0.5321, allocations: 4 kB / 0.7836 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04841/0.5805, allocations: 33.62 MB / 0.8164 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.582, allocations: 2.578 kB / 0.8164 GB, free: 7.43 MB / 0.6511 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.106120158918202] Failed to read output from testmodel.py, exit status != 0: 8.678406951949 8.69069402 8.211903437 Calling exit ...