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: translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 117 kB / 17.09 MB, free: 5.938 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.00121/0.00121, allocations: 198.9 kB / 18.02 MB, free: 5.023 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.411/1.411, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7377/0.7377, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 66.91 kB / 0.5583 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1475, allocations: 76.18 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5894/0.7369, allocations: 194 MB / 0.8222 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01061/0.7476, allocations: 6.933 MB / 0.8289 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/0.7494, allocations: 47.34 kB / 0.829 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002209/0.7517, allocations: 0.6826 MB / 0.8297 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006611/0.7583, allocations: 2.349 MB / 0.832 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003714/0.7621, allocations: 1.427 MB / 0.8333 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004343/0.7664, allocations: 2.982 MB / 0.8363 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0016/0.768, allocations: 0.9021 MB / 0.8371 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003068/0.7711, allocations: 1.144 MB / 0.8383 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/0.7729, allocations: 0.7993 MB / 0.839 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000341/0.7733, allocations: 98.44 kB / 0.8391 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004375/0.7776, allocations: 2.064 MB / 0.8411 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006178/0.7783, allocations: 373 kB / 0.8415 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.7794, allocations: 0.5805 MB / 0.8421 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004647/0.7841, allocations: 2.396 MB / 0.8444 GB, free: 316 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.7841, allocations: 0 / 0.8444 GB, free: 316 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7842, allocations: 0 / 0.8444 GB, free: 316 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.052e-05/0.7842, allocations: 0 / 0.8444 GB, free: 316 kB / 0.5919 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.004266/0.7885, allocations: 1.626 MB / 0.846 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.7885, allocations: 13.72 kB / 0.846 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003098/0.7916, allocations: 0.5365 MB / 0.8465 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/0.7942, allocations: 1.037 MB / 0.8475 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-05/0.7943, allocations: 51.09 kB / 0.8476 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.7945, allocations: 70.33 kB / 0.8477 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002591/0.7971, allocations: 1.105 MB / 0.8487 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.7971, allocations: 0 / 0.8487 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.7972, allocations: 39 kB / 0.8488 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.913e-05/0.7973, allocations: 29.5 kB / 0.8488 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003094/0.8004, allocations: 1.166 MB / 0.8499 GB, free: 12.5 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.006232/0.8066, allocations: 3.164 MB / 0.853 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.8084, allocations: 0.6919 MB / 0.8537 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000843/0.8093, allocations: 418.2 kB / 0.8541 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000938/0.8102, allocations: 1.024 MB / 0.8551 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/0.8113, allocations: 0.5221 MB / 0.8556 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=57): time 3.086e-06/0.8114, allocations: 0 / 0.8556 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=57): time 0.003182/0.8146, allocations: 1.213 MB / 0.8568 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/0.8146, allocations: 140.9 kB / 0.8569 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/0.8168, allocations: 1.188 MB / 0.8581 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.8169, allocations: 37.7 kB / 0.8581 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000381/0.8173, allocations: 433 kB / 0.8585 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.8175, allocations: 195.5 kB / 0.8587 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003055/0.8178, allocations: 150 kB / 0.8589 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.818, allocations: 330 kB / 0.8592 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.8192, allocations: 440.9 kB / 0.8596 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.8207, allocations: 0.5937 MB / 0.8602 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/0.8228, allocations: 0.9262 MB / 0.8611 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.8228, allocations: 0 / 0.8611 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003332/0.8262, allocations: 1.202 MB / 0.8623 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.817e-05/0.8262, allocations: 37.7 kB / 0.8623 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.8263, allocations: 7.984 kB / 0.8623 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.8263, allocations: 7.938 kB / 0.8623 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009437/0.8272, allocations: 192 kB / 0.8625 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/0.8273, allocations: 11.94 kB / 0.8625 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.8289, allocations: 234.9 kB / 0.8627 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.829, allocations: 39.97 kB / 0.8628 GB, free: 14.84 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 (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.0005603/0.8295, allocations: 326.4 kB / 0.8631 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003112/0.8299, allocations: 118.6 kB / 0.8632 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.8321, allocations: 0.9921 MB / 0.8642 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.8322, allocations: 8 kB / 0.8642 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.8322, allocations: 3.938 kB / 0.8642 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.8322, allocations: 11.98 kB / 0.8642 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005155/0.8374, allocations: 3.15 MB / 0.8673 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-05/0.8374, allocations: 8 kB / 0.8673 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006035/0.838, allocations: 124 kB / 0.8674 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.477e-05/0.838, allocations: 8 kB / 0.8674 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/0.8381, allocations: 27.98 kB / 0.8674 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.276e-05/0.8381, allocations: 11.94 kB / 0.8674 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/0.8381, allocations: 11.98 kB / 0.8674 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/0.8405, allocations: 1.345 MB / 0.8688 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000608/0.8411, allocations: 331.4 kB / 0.8691 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002545/0.8413, allocations: 24 kB / 0.8691 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.8426, allocations: 99.91 kB / 0.8692 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.8427, allocations: 71.62 kB / 0.8693 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.026e-05/0.8428, allocations: 43.97 kB / 0.8693 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001666/0.8445, allocations: 0.8443 MB / 0.8701 GB, free: 7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8445, allocations: 0 / 0.8701 GB, free: 7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001352/0.8458, allocations: 307.8 kB / 0.8704 GB, free: 6.699 MB / 0.6231 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.0009334/0.8468, allocations: 343.2 kB / 0.8708 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002717/0.8495, allocations: 1.021 MB / 0.8717 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.8495, allocations: 4 kB / 0.8718 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.8506, allocations: 0.5086 MB / 0.8722 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003557/0.8542, allocations: 0.552 MB / 0.8728 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00476/0.8589, allocations: 2.062 MB / 0.8748 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009782/0.86, allocations: 1.065 MB / 0.8758 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005701/0.8605, allocations: 91.39 kB / 0.8759 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of SimCode: time 1.253e-06/0.8606, allocations: 4 kB / 0.8759 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of Templates: time 0.03238/0.8929, allocations: 18.8 MB / 0.8943 GB, free: 14.22 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)