Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008489/0.000849, allocations: 93.11 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008244/0.0008244, allocations: 178.5 kB / 16.92 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6987/0.6987, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003093, allocations: 8.188 kB / 495.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1463, allocations: 77.54 MB / 0.56 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.01936/0.1657, allocations: 20.12 MB / 0.5797 GB, free: 4.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2743/0.44, allocations: 5.388 MB / 0.585 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007711/0.4409, allocations: 21.5 kB / 0.585 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008412/0.4417, allocations: 283.3 kB / 0.5852 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.4439, allocations: 0.853 MB / 0.5861 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.4461, allocations: 0.823 MB / 0.5869 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003058/0.4492, allocations: 2.302 MB / 0.5891 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007928/0.45, allocations: 432.6 kB / 0.5895 GB, free: 9.973 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.4513, allocations: 0.6064 MB / 0.5901 GB, free: 9.969 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007269/0.452, allocations: 497.5 kB / 0.5906 GB, free: 9.949 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.568e-05/0.4521, allocations: 22.44 kB / 0.5906 GB, free: 9.949 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.4543, allocations: 1.093 MB / 0.5917 GB, free: 9.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.4545, allocations: 126.4 kB / 0.5918 GB, free: 9.883 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003343/0.4548, allocations: 324.6 kB / 0.5921 GB, free: 9.754 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.4566, allocations: 1.181 MB / 0.5933 GB, free: 9.582 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4567, allocations: 0 / 0.5933 GB, free: 9.582 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4567, allocations: 4.688 kB / 0.5933 GB, free: 9.578 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.4567, allocations: 0 / 0.5933 GB, free: 9.578 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001629/0.4583, allocations: 0.922 MB / 0.5942 GB, free: 24.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.4584, allocations: 10.09 kB / 0.5942 GB, free: 24.91 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.648e-05/0.4585, allocations: 74.89 kB / 0.5943 GB, free: 24.87 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009042/0.4594, allocations: 200.3 kB / 0.5945 GB, free: 24.82 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.4604, allocations: 0.5569 MB / 0.595 GB, free: 24.53 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003535/0.4608, allocations: 99.41 kB / 0.5951 GB, free: 24.52 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-05/0.4609, allocations: 46.06 kB / 0.5951 GB, free: 24.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.4619, allocations: 0.503 MB / 0.5956 GB, free: 24.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.4619, allocations: 2.562 kB / 0.5956 GB, free: 24.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.463e-05/0.462, allocations: 16.81 kB / 0.5956 GB, free: 24.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/0.462, allocations: 8.984 kB / 0.5957 GB, free: 24.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.4631, allocations: 434.1 kB / 0.5961 GB, free: 24.41 MB / 462.1 MB 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.002876/0.4659, allocations: 2.286 MB / 0.5983 GB, free: 22.96 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.467, allocations: 402.4 kB / 0.5987 GB, free: 22.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005624/0.4676, allocations: 236.2 kB / 0.5989 GB, free: 22.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.4678, allocations: 341.7 kB / 0.5992 GB, free: 22.54 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000647/0.4685, allocations: 309 kB / 0.5995 GB, free: 22.45 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 3.296e-06/0.4685, allocations: 0 / 0.5995 GB, free: 22.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.002363/0.4709, allocations: 0.8921 MB / 0.6004 GB, free: 22.22 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.4709, allocations: 85.14 kB / 0.6005 GB, free: 22.12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006636/0.4716, allocations: 0.4886 MB / 0.601 GB, free: 22 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.4716, allocations: 36.39 kB / 0.601 GB, free: 21.97 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.4719, allocations: 275.4 kB / 0.6013 GB, free: 21.84 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.123e-05/0.472, allocations: 111 kB / 0.6014 GB, free: 21.77 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.472, allocations: 38.7 kB / 0.6014 GB, free: 21.76 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4722, allocations: 360.6 kB / 0.6017 GB, free: 21.45 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005112/0.4727, allocations: 185 kB / 0.6019 GB, free: 21.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004962/0.4732, allocations: 281.2 kB / 0.6022 GB, free: 21.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009092/0.4741, allocations: 486.7 kB / 0.6027 GB, free: 21.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4742, allocations: 0.9688 kB / 0.6027 GB, free: 21.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001334/0.4755, allocations: 0.6367 MB / 0.6033 GB, free: 21.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.931e-05/0.4756, allocations: 170 kB / 0.6034 GB, free: 20.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.4756, allocations: 10.06 kB / 0.6034 GB, free: 20.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003201/0.4759, allocations: 71.41 kB / 0.6035 GB, free: 20.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.4763, allocations: 81.83 kB / 0.6036 GB, free: 20.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004386/0.4767, allocations: 0.5993 MB / 0.6042 GB, free: 20.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005712/0.4773, allocations: 80.7 kB / 0.6043 GB, free: 20.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.4774, allocations: 20.8 kB / 0.6043 GB, free: 20.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.991e-06/0.4774, allocations: 3.906 kB / 0.6043 GB, free: 20.32 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001181/0.4786, allocations: 0.5626 MB / 0.6048 GB, free: 20.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.4786, allocations: 1.375 kB / 0.6048 GB, free: 20.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/0.4787, allocations: 53.64 kB / 0.6049 GB, free: 20.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.4791, allocations: 83.97 kB / 0.605 GB, free: 20.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.4805, allocations: 1.632 MB / 0.6066 GB, free: 18.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005135/0.4811, allocations: 82.25 kB / 0.6066 GB, free: 18.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.4811, allocations: 17.53 kB / 0.6067 GB, free: 18.79 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003263/0.4814, allocations: 298.3 kB / 0.6069 GB, free: 18.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.539e-05/0.4815, allocations: 60.12 kB / 0.607 GB, free: 18.54 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.4829, allocations: 0.6655 MB / 0.6076 GB, free: 18.42 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.423e-06/0.4829, allocations: 2.5 kB / 0.6076 GB, free: 18.42 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4829, allocations: 6.594 kB / 0.6077 GB, free: 18.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001165/0.4841, allocations: 0.8105 MB / 0.6084 GB, free: 18.01 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.4862, allocations: 1.324 MB / 0.6097 GB, free: 17.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.4862, allocations: 1.188 kB / 0.6097 GB, free: 17.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.4866, allocations: 75.2 kB / 0.6098 GB, free: 17.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001123/0.4867, allocations: 43.19 kB / 0.6099 GB, free: 17.58 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.4867, allocations: 13.05 kB / 0.6099 GB, free: 17.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003418/0.4871, allocations: 0.571 MB / 0.6104 GB, free: 17.06 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4871, allocations: 9.969 kB / 0.6104 GB, free: 17.05 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.4889, allocations: 1.006 MB / 0.6114 GB, free: 16.67 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.4891, allocations: 191.8 kB / 0.6116 GB, free: 16.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.796e-05/0.4892, allocations: 13.47 kB / 0.6116 GB, free: 16.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005171/0.4897, allocations: 62.62 kB / 0.6117 GB, free: 16.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.4898, allocations: 24.05 kB / 0.6117 GB, free: 16.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.4898, allocations: 24.08 kB / 0.6117 GB, free: 16.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003716/0.4902, allocations: 347 kB / 0.612 GB, free: 16.33 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4902, allocations: 0 / 0.612 GB, free: 16.33 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001122/0.4914, allocations: 340.3 kB / 0.6124 GB, free: 16.27 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002537/0.4939, allocations: 1.721 MB / 0.614 GB, free: 15.22 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001906/0.4958, allocations: 0.992 MB / 0.615 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4958, allocations: 1.5 kB / 0.615 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005684/0.4964, allocations: 330.5 kB / 0.6153 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.4978, allocations: 243.1 kB / 0.6156 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007817/0.5056, allocations: 5.252 MB / 0.6207 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.5061, allocations: 0.8822 MB / 0.6216 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004854/0.5066, allocations: 124 kB / 0.6217 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.5068, allocations: 194.4 kB / 0.6219 GB, free: 10.33 MB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5068, allocations: 0 / 0.6219 GB, free: 10.33 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4556/0.9625, allocations: 15.96 MB / 0.6374 GB, free: 14.23 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003864/0.9629, allocations: 286.7 kB / 0.6377 GB, free: 13.84 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.248/3.211, allocations: 0 / 0.6377 GB, free: 13.84 MB / 478.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ConservationEquation.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)