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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 106.5 kB / 15.99 MB, free: 6.344 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.001847/0.001847, allocations: 191.5 kB / 16.9 MB, free: 6.188 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.331/1.331, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6938/0.6938, allocations: 115.3 MB / 406.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.91 kB / 493.2 MB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3071, allocations: 76.17 MB / 0.556 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1803/0.4874, allocations: 191.5 MB / 0.743 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2944/0.7818, allocations: 6.876 MB / 0.7497 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.7835, allocations: 42.75 kB / 0.7498 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.7854, allocations: 0.5955 MB / 0.7503 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005595/0.791, allocations: 2.204 MB / 0.7525 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003127/0.7941, allocations: 1.3 MB / 0.7538 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005357/0.7995, allocations: 3.002 MB / 0.7567 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001557/0.8011, allocations: 0.9148 MB / 0.7576 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002882/0.804, allocations: 1.144 MB / 0.7587 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/0.8055, allocations: 0.8481 MB / 0.7595 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001939/0.8057, allocations: 102.8 kB / 0.7596 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004002/0.8097, allocations: 2.143 MB / 0.7617 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004066/0.8101, allocations: 367.4 kB / 0.7621 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007023/0.8108, allocations: 0.5945 MB / 0.7627 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003108/0.8139, allocations: 2.464 MB / 0.7651 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.8139, allocations: 1.906 kB / 0.7651 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8139, allocations: 1.203 kB / 0.7651 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.814, allocations: 0 / 0.7651 GB, free: 1.648 MB / 0.5762 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.003124/0.8171, allocations: 1.627 MB / 0.7667 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.8171, allocations: 9.875 kB / 0.7667 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.8173, allocations: 113.6 kB / 0.7668 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002906/0.8202, allocations: 0.5347 MB / 0.7673 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.8221, allocations: 0.9893 MB / 0.7683 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001148/0.8232, allocations: 272 kB / 0.7685 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.8234, allocations: 73.27 kB / 0.7686 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/0.8257, allocations: 1.124 MB / 0.7697 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.8258, allocations: 1.031 kB / 0.7697 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.423e-05/0.8259, allocations: 31.42 kB / 0.7697 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-05/0.8259, allocations: 33.31 kB / 0.7697 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00318/0.8291, allocations: 1.196 MB / 0.7709 GB, free: 16.23 MB / 0.5919 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.005321/0.8345, allocations: 3.209 MB / 0.774 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.836, allocations: 0.6848 MB / 0.7747 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007595/0.8368, allocations: 424.4 kB / 0.7751 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008249/0.8376, allocations: 1.021 MB / 0.7761 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009403/0.8386, allocations: 0.5156 MB / 0.7766 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.275e-06/0.8386, allocations: 0 / 0.7766 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.002652/0.8413, allocations: 1.231 MB / 0.7778 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.8413, allocations: 138.1 kB / 0.778 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.8429, allocations: 1.202 MB / 0.7791 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.948e-05/0.843, allocations: 36.83 kB / 0.7792 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.8433, allocations: 441.2 kB / 0.7796 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.8434, allocations: 190.6 kB / 0.7798 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.8436, allocations: 142.2 kB / 0.7799 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.937e-05/0.8437, allocations: 333.6 kB / 0.7802 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.8449, allocations: 460 kB / 0.7807 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.8462, allocations: 0.6181 MB / 0.7813 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.848, allocations: 0.9468 MB / 0.7822 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.848, allocations: 2 kB / 0.7822 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002745/0.8508, allocations: 1.234 MB / 0.7834 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/0.8508, allocations: 40.2 kB / 0.7834 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.8508, allocations: 3.094 kB / 0.7834 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.8509, allocations: 6.281 kB / 0.7834 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009041/0.8518, allocations: 197.3 kB / 0.7836 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.8518, allocations: 7.344 kB / 0.7836 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.8533, allocations: 271.2 kB / 0.7839 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.042e-05/0.8534, allocations: 36.34 kB / 0.7839 GB, free: 12.42 MB / 0.5919 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.0003698/0.8538, allocations: 335.9 kB / 0.7843 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.8539, allocations: 114.5 kB / 0.7844 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.8557, allocations: 0.9912 MB / 0.7853 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.8558, allocations: 8.125 kB / 0.7853 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.8558, allocations: 4 kB / 0.7853 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.8558, allocations: 8.562 kB / 0.7853 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003937/0.8597, allocations: 3.161 MB / 0.7884 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.8598, allocations: 8.688 kB / 0.7884 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005443/0.8603, allocations: 121 kB / 0.7886 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.8603, allocations: 13.23 kB / 0.7886 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/0.8604, allocations: 30.33 kB / 0.7886 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/0.8604, allocations: 13.06 kB / 0.7886 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.8604, allocations: 9.875 kB / 0.7886 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.8622, allocations: 1.335 MB / 0.7899 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004109/0.8626, allocations: 335 kB / 0.7902 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.8628, allocations: 20.34 kB / 0.7903 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.8639, allocations: 112.9 kB / 0.7904 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.131e-05/0.864, allocations: 62.5 kB / 0.7904 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.331e-05/0.8641, allocations: 44.89 kB / 0.7905 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00127/0.8654, allocations: 0.8737 MB / 0.7913 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.92e-07/0.8654, allocations: 3.156 kB / 0.7913 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009548/0.8664, allocations: 294.8 kB / 0.7916 GB, free: 10.4 MB / 0.5919 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.002637/0.869, allocations: 2.129 MB / 0.7937 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002197/0.8712, allocations: 1.054 MB / 0.7947 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.8712, allocations: 2.781 kB / 0.7947 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008205/0.8721, allocations: 0.5151 MB / 0.7952 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/0.8746, allocations: 0.5519 MB / 0.7958 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/0.891, allocations: 10.25 MB / 0.8058 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006258/0.8917, allocations: 1.067 MB / 0.8068 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001184/0.8929, allocations: 276.5 kB / 0.8071 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000585/0.8935, allocations: 358.6 kB / 0.8074 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.8935, allocations: 4.109 kB / 0.8074 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04784/0.9413, allocations: 31.34 MB / 0.838 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/0.9416, allocations: 263.3 kB / 0.8383 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.436/3.378, allocations: 0 / 0.8383 GB, free: 9.406 MB / 0.6231 GB (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 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)