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.001156/0.001157, allocations: 102 kB / 16.27 MB, free: 5.977 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.001177/0.001177, allocations: 186.4 kB / 17.19 MB, free: 5.605 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.395/1.395, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7691/0.7691, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 59.91 kB / 0.4912 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3381, allocations: 77.92 MB / 0.5673 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5439/0.882, allocations: 194 MB / 0.7567 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01227/0.8943, allocations: 6.939 MB / 0.7635 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00248/0.8969, allocations: 46.59 kB / 0.7635 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.8988, allocations: 0.6893 MB / 0.7642 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00654/0.9053, allocations: 2.339 MB / 0.7665 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004294/0.9097, allocations: 1.41 MB / 0.7679 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005372/0.915, allocations: 2.992 MB / 0.7708 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.9166, allocations: 0.887 MB / 0.7717 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003106/0.9197, allocations: 1.132 MB / 0.7728 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00174/0.9215, allocations: 0.7949 MB / 0.7735 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003152/0.9218, allocations: 100.8 kB / 0.7736 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005024/0.9268, allocations: 2.051 MB / 0.7756 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006542/0.9275, allocations: 372 kB / 0.776 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.9287, allocations: 0.5851 MB / 0.7766 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004719/0.9334, allocations: 2.36 MB / 0.7789 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.9334, allocations: 2.812 kB / 0.7789 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.926e-06/0.9334, allocations: 0.9688 kB / 0.7789 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.682e-05/0.9335, allocations: 1.203 kB / 0.7789 GB, free: 1.422 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.003657/0.9371, allocations: 1.627 MB / 0.7805 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.9372, allocations: 13.03 kB / 0.7805 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001368/0.9373, allocations: 113.2 kB / 0.7806 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002928/0.9403, allocations: 0.5335 MB / 0.7811 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/0.9424, allocations: 0.9788 MB / 0.7821 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001238/0.9437, allocations: 280.4 kB / 0.7823 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/0.9439, allocations: 68.95 kB / 0.7824 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002536/0.9464, allocations: 1.133 MB / 0.7835 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.9465, allocations: 0 / 0.7835 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.911e-05/0.9466, allocations: 23.81 kB / 0.7835 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.153e-05/0.9466, allocations: 36.02 kB / 0.7836 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003053/0.9497, allocations: 1.197 MB / 0.7847 GB, free: 16 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.005532/0.9552, allocations: 3.22 MB / 0.7879 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.9568, allocations: 0.6916 MB / 0.7885 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007175/0.9575, allocations: 416 kB / 0.7889 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009151/0.9585, allocations: 1.025 MB / 0.7899 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009174/0.9594, allocations: 0.5136 MB / 0.7904 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.835e-06/0.9594, allocations: 5.016 kB / 0.7904 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.002825/0.9622, allocations: 1.218 MB / 0.7916 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.033e-05/0.9623, allocations: 145.9 kB / 0.7918 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.9645, allocations: 1.199 MB / 0.7929 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001465/0.9647, allocations: 41.89 kB / 0.793 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005527/0.9652, allocations: 440.1 kB / 0.7934 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.9655, allocations: 185.1 kB / 0.7936 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003117/0.9658, allocations: 147.4 kB / 0.7937 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.9659, allocations: 332.5 kB / 0.794 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.9673, allocations: 455.5 kB / 0.7945 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/0.9688, allocations: 0.6174 MB / 0.7951 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/0.9709, allocations: 0.9422 MB / 0.796 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.9709, allocations: 2.219 kB / 0.796 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003429/0.9744, allocations: 1.235 MB / 0.7972 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.359e-05/0.9744, allocations: 35.73 kB / 0.7972 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.9744, allocations: 6 kB / 0.7972 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.9745, allocations: 8.844 kB / 0.7973 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009477/0.9754, allocations: 202.5 kB / 0.7974 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.9755, allocations: 5.781 kB / 0.7975 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.9771, allocations: 272.8 kB / 0.7977 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.491e-05/0.9772, allocations: 39.19 kB / 0.7977 GB, free: 12.13 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.000564/0.9778, allocations: 328.4 kB / 0.7981 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/0.978, allocations: 118.8 kB / 0.7982 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/0.98, allocations: 0.9913 MB / 0.7991 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/0.9801, allocations: 13.44 kB / 0.7992 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.9801, allocations: 5.219 kB / 0.7992 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.9801, allocations: 6.906 kB / 0.7992 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004519/0.9846, allocations: 3.156 MB / 0.8023 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.9847, allocations: 7.969 kB / 0.8023 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006024/0.9853, allocations: 124.3 kB / 0.8024 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.299e-05/0.9853, allocations: 11.61 kB / 0.8024 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.367e-05/0.9854, allocations: 23.59 kB / 0.8024 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/0.9854, allocations: 18.75 kB / 0.8024 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.9854, allocations: 10.69 kB / 0.8024 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.9876, allocations: 1.339 MB / 0.8037 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005807/0.9881, allocations: 331.5 kB / 0.8041 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.9883, allocations: 21.91 kB / 0.8041 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.9895, allocations: 110.9 kB / 0.8042 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.9896, allocations: 61.98 kB / 0.8042 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.248e-05/0.9897, allocations: 41.38 kB / 0.8043 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001477/0.9912, allocations: 0.8684 MB / 0.8051 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9912, allocations: 0 / 0.8051 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001067/0.9922, allocations: 300.2 kB / 0.8054 GB, free: 10.11 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.002842/0.9951, allocations: 2.142 MB / 0.8075 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002427/0.9975, allocations: 1.048 MB / 0.8085 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.9976, allocations: 2.562 kB / 0.8085 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008783/0.9984, allocations: 0.5152 MB / 0.809 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002899/1.001, allocations: 0.5537 MB / 0.8096 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01845/1.02, allocations: 9.988 MB / 0.8193 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007715/1.021, allocations: 1.068 MB / 0.8204 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00136/1.022, allocations: 280.8 kB / 0.8206 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005095/1.023, allocations: 357.3 kB / 0.821 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of SimCode: time 8.22e-07/1.023, allocations: 0 / 0.821 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0602/1.083, allocations: 31.53 MB / 0.8518 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.136/9.219, allocations: 0 / 0.8518 GB, free: 4.227 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)