Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",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.000806/0.0008103, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008453/0.0008452, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.02/1.02, allocations: 143.4 MB / 434.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003348, allocations: 8 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1532, allocations: 83.42 MB / 0.5975 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.457/0.6103, allocations: 176.6 MB / 0.77 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009208/0.6196, allocations: 6.572 MB / 0.7765 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.6208, allocations: 35.75 kB / 0.7765 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.6222, allocations: 476.7 kB / 0.7769 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004267/0.6264, allocations: 1.687 MB / 0.7786 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002694/0.6291, allocations: 1.065 MB / 0.7796 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003965/0.6331, allocations: 3.22 MB / 0.7828 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.6344, allocations: 0.6891 MB / 0.7835 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.6361, allocations: 0.9414 MB / 0.7844 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009781/0.6371, allocations: 0.7391 MB / 0.7851 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.6372, allocations: 44 kB / 0.7851 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/0.6399, allocations: 1.212 MB / 0.7863 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003222/0.6402, allocations: 298.9 kB / 0.7866 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.6405, allocations: 241.1 kB / 0.7868 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.6424, allocations: 1.691 MB / 0.7885 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6424, allocations: 4 kB / 0.7885 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6424, allocations: 0 / 0.7885 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.6425, allocations: 4 kB / 0.7885 GB, free: 8.508 MB / 0.6075 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.002793/0.6453, allocations: 1.404 MB / 0.7899 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.6453, allocations: 8.031 kB / 0.7899 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001409/0.6455, allocations: 110.5 kB / 0.79 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002583/0.6481, allocations: 0.5996 MB / 0.7906 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.65, allocations: 0.9716 MB / 0.7915 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009749/0.651, allocations: 317 kB / 0.7918 GB, free: 5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.6511, allocations: 64 kB / 0.7919 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.6534, allocations: 1.148 MB / 0.793 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.6534, allocations: 3.984 kB / 0.793 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-05/0.6535, allocations: 28 kB / 0.793 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-05/0.6535, allocations: 37.3 kB / 0.7931 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002854/0.6564, allocations: 1.25 MB / 0.7943 GB, free: 2.441 MB / 0.6075 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.005563/0.662, allocations: 3.252 MB / 0.7975 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.6635, allocations: 0.6945 MB / 0.7981 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007163/0.6643, allocations: 430.8 kB / 0.7985 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009163/0.6652, allocations: 1.021 MB / 0.7995 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009733/0.6662, allocations: 0.5222 MB / 0.8001 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 2.685e-06/0.6662, allocations: 0 / 0.8001 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.00277/0.669, allocations: 1.24 MB / 0.8013 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.6691, allocations: 140.9 kB / 0.8014 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/0.6709, allocations: 1.211 MB / 0.8026 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.748e-05/0.671, allocations: 37.7 kB / 0.8026 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/0.6714, allocations: 441.4 kB / 0.803 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.6715, allocations: 189.2 kB / 0.8032 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.6716, allocations: 16 kB / 0.8032 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.6717, allocations: 322 kB / 0.8035 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.6728, allocations: 492.9 kB / 0.804 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.6741, allocations: 0.6366 MB / 0.8046 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.6753, allocations: 0.5424 MB / 0.8052 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.6753, allocations: 0 / 0.8052 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002804/0.6781, allocations: 1.287 MB / 0.8064 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/0.6782, allocations: 33.7 kB / 0.8065 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.6782, allocations: 5.844 kB / 0.8065 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.6782, allocations: 8.094 kB / 0.8065 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008756/0.6791, allocations: 215.7 kB / 0.8067 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.6791, allocations: 4 kB / 0.8067 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.6806, allocations: 311.6 kB / 0.807 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.413e-05/0.6807, allocations: 35.98 kB / 0.807 GB, free: 4.93 MB / 0.6231 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 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000502/0.6812, allocations: 331.3 kB / 0.8073 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.6813, allocations: 114.6 kB / 0.8074 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.6833, allocations: 1.008 MB / 0.8084 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.6833, allocations: 8 kB / 0.8084 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.6833, allocations: 0 / 0.8084 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.6833, allocations: 11.98 kB / 0.8084 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004334/0.6877, allocations: 3.17 MB / 0.8115 GB, free: 120 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.6877, allocations: 11.98 kB / 0.8115 GB, free: 108 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/0.6883, allocations: 119.8 kB / 0.8117 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.675e-05/0.6883, allocations: 12.88 kB / 0.8117 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.478e-05/0.6884, allocations: 35.91 kB / 0.8117 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/0.6884, allocations: 11.94 kB / 0.8117 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/0.6884, allocations: 19.89 kB / 0.8117 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.6903, allocations: 1.351 MB / 0.8131 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004705/0.6908, allocations: 327.4 kB / 0.8134 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.691, allocations: 23.98 kB / 0.8134 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009904/0.692, allocations: 131.9 kB / 0.8135 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.494e-05/0.6921, allocations: 59.78 kB / 0.8136 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.972e-05/0.6922, allocations: 39.97 kB / 0.8136 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001387/0.6936, allocations: 0.8794 MB / 0.8145 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6936, allocations: 3.938 kB / 0.8145 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00117/0.6947, allocations: 295.8 kB / 0.8148 GB, free: 12.68 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002627/0.6974, allocations: 2.141 MB / 0.8168 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002124/0.6995, allocations: 1.049 MB / 0.8179 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.6995, allocations: 8 kB / 0.8179 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008174/0.7004, allocations: 0.5203 MB / 0.8184 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/0.7028, allocations: 0.5269 MB / 0.8189 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.7152, allocations: 7.159 MB / 0.8259 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006566/0.7159, allocations: 1.069 MB / 0.8269 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001217/0.7171, allocations: 276.7 kB / 0.8272 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004991/0.7176, allocations: 363.3 kB / 0.8275 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of SimCode: time 7.02e-07/0.7177, allocations: 0 / 0.8275 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04835/0.766, allocations: 30.78 MB / 0.8576 GB, free: 0.7695 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/0.7663, allocations: 253.3 kB / 0.8578 GB, free: 444 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.319/3.085, allocations: 0 / 0.8578 GB, free: 444 kB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) Environment - environmentSimulation: