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.001909/0.001909, allocations: 114 kB / 17.12 MB, free: 6.008 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.001488/0.001488, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.486/1.486, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.9817/0.9817, allocations: 150 MB / 459.5 MB, free: 5.277 MB / 350.1 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: IBPSA 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.002119/0.002119, allocations: 69 kB / 0.6361 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1537, allocations: 89.13 MB / 0.7232 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6923/0.8461, allocations: 197.8 MB / 0.9163 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.8566, allocations: 6.955 MB / 0.9231 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002143/0.8588, allocations: 66.78 kB / 0.9231 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002197/0.861, allocations: 0.7101 MB / 0.9238 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007606/0.8686, allocations: 2.437 MB / 0.9262 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003954/0.8725, allocations: 1.44 MB / 0.9276 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004814/0.8774, allocations: 2.971 MB / 0.9305 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/0.8789, allocations: 0.7533 MB / 0.9313 GB, free: 13 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004162/0.883, allocations: 1.593 MB / 0.9328 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.8848, allocations: 0.8371 MB / 0.9336 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003201/0.8851, allocations: 98.53 kB / 0.9337 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004737/0.8899, allocations: 2.138 MB / 0.9358 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00072/0.8906, allocations: 369.8 kB / 0.9362 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000994/0.8916, allocations: 0.5921 MB / 0.9367 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005204/0.8968, allocations: 2.405 MB / 0.9391 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.8968, allocations: 0 / 0.9391 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8968, allocations: 2.906 kB / 0.9391 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.837e-05/0.8968, allocations: 0 / 0.9391 GB, free: 9.375 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.004169/0.901, allocations: 1.666 MB / 0.9407 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.901, allocations: 10.41 kB / 0.9407 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001773/0.9012, allocations: 118.5 kB / 0.9408 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003266/0.9045, allocations: 0.535 MB / 0.9414 GB, free: 7.758 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002935/0.9074, allocations: 1.048 MB / 0.9424 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.124e-05/0.9075, allocations: 54.3 kB / 0.9424 GB, free: 6.949 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000219/0.9077, allocations: 65.44 kB / 0.9425 GB, free: 6.93 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00302/0.9108, allocations: 1.11 MB / 0.9436 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.9108, allocations: 2.688 kB / 0.9436 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.9109, allocations: 26.06 kB / 0.9436 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.045e-05/0.9109, allocations: 30.78 kB / 0.9436 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00346/0.9144, allocations: 1.17 MB / 0.9448 GB, free: 5.672 MB / 0.6856 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.007387/0.9218, allocations: 3.165 MB / 0.9479 GB, free: 3.316 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.9237, allocations: 0.6586 MB / 0.9485 GB, free: 2.961 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00088/0.9246, allocations: 394.2 kB / 0.9489 GB, free: 2.777 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/0.9257, allocations: 1.025 MB / 0.9499 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001254/0.9269, allocations: 0.5201 MB / 0.9504 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=57): time 3.928e-06/0.9269, allocations: 0 / 0.9504 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of matching and sorting (n=57): time 0.003513/0.9305, allocations: 1.222 MB / 0.9516 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.9306, allocations: 144.6 kB / 0.9517 GB, free: 500 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002399/0.933, allocations: 1.176 MB / 0.9529 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001586/0.9331, allocations: 39.39 kB / 0.9529 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004545/0.9336, allocations: 445.5 kB / 0.9533 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/0.9339, allocations: 196 kB / 0.9535 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003171/0.9342, allocations: 146.1 kB / 0.9537 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.9344, allocations: 333.3 kB / 0.954 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.9357, allocations: 434.2 kB / 0.9544 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.9373, allocations: 0.5961 MB / 0.955 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002272/0.9396, allocations: 0.9294 MB / 0.9559 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.9396, allocations: 0 / 0.9559 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003421/0.943, allocations: 1.201 MB / 0.9571 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.816e-05/0.9431, allocations: 39.81 kB / 0.9571 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.9431, allocations: 6.719 kB / 0.9571 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.9431, allocations: 9 kB / 0.9571 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009618/0.9441, allocations: 196 kB / 0.9573 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.9441, allocations: 8.75 kB / 0.9573 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.9458, allocations: 242.9 kB / 0.9575 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.9459, allocations: 40.02 kB / 0.9576 GB, free: 12.84 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.0005704/0.9465, allocations: 325.2 kB / 0.9579 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002667/0.9467, allocations: 123.5 kB / 0.958 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/0.949, allocations: 0.9968 MB / 0.959 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.949, allocations: 11.72 kB / 0.959 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.949, allocations: 0 / 0.959 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.9491, allocations: 6.734 kB / 0.959 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005237/0.9543, allocations: 3.163 MB / 0.9621 GB, free: 9.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.9543, allocations: 7.562 kB / 0.9621 GB, free: 9.73 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005936/0.9549, allocations: 118.8 kB / 0.9622 GB, free: 9.699 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.9549, allocations: 17.56 kB / 0.9622 GB, free: 9.691 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-05/0.955, allocations: 25.05 kB / 0.9622 GB, free: 9.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.128e-05/0.955, allocations: 14.14 kB / 0.9623 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.955, allocations: 11.72 kB / 0.9623 GB, free: 9.672 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/0.9574, allocations: 1.345 MB / 0.9636 GB, free: 8.695 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006113/0.958, allocations: 343.6 kB / 0.9639 GB, free: 8.406 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.9582, allocations: 20.5 kB / 0.9639 GB, free: 8.398 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.9594, allocations: 104.9 kB / 0.964 GB, free: 8.355 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.9595, allocations: 65.73 kB / 0.9641 GB, free: 8.316 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.911e-05/0.9596, allocations: 45.16 kB / 0.9641 GB, free: 8.297 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00156/0.9611, allocations: 0.8462 MB / 0.965 GB, free: 7.832 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.9611, allocations: 0 / 0.965 GB, free: 7.832 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001159/0.9623, allocations: 298.3 kB / 0.9653 GB, free: 7.781 MB / 0.7012 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.003398/0.9657, allocations: 2.122 MB / 0.9673 GB, free: 6.18 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002656/0.9684, allocations: 0.9592 MB / 0.9683 GB, free: 5.375 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.9684, allocations: 0 / 0.9683 GB, free: 5.375 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.9694, allocations: 492.8 kB / 0.9687 GB, free: 4.883 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/0.9724, allocations: 0.5519 MB / 0.9693 GB, free: 4.367 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01931/0.9917, allocations: 9.421 MB / 0.9785 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008534/0.9926, allocations: 1.069 MB / 0.9795 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001159/0.9937, allocations: 278 kB / 0.9798 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006114/0.9944, allocations: 355.3 kB / 0.9801 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of SimCode: time 1.052e-06/0.9944, allocations: 0 / 0.9801 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07649/1.071, allocations: 31.87 MB / 1.011 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/11.48, allocations: 7.328 kB / 1.011 GB, free: 9.258 MB / 0.7481 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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: 15.480985682923347] Failed to read output from testmodel.py, exit status != 0: 11.570235185092315 11.595309661 10.693671249 Calling exit ...