Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008612/0.0008613, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.006246/0.006246, allocations: 171.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.686/1.686, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005308/0.0005307, allocations: 16.41 kB / 0.6743 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.235, allocations: 116.3 MB / 0.7879 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6443/0.8793, allocations: 189.1 MB / 0.9726 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.011/0.8904, allocations: 6.879 MB / 0.9793 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002154/0.8926, allocations: 40.77 kB / 0.9793 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002141/0.8947, allocations: 0.5652 MB / 0.9799 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006937/0.9017, allocations: 2.135 MB / 0.982 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004136/0.9059, allocations: 1.291 MB / 0.9832 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005533/0.9114, allocations: 3.688 MB / 0.9868 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/0.9131, allocations: 0.7537 MB / 0.9876 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00248/0.9156, allocations: 0.9537 MB / 0.9885 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002111/0.9177, allocations: 0.8078 MB / 0.9893 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.9179, allocations: 43.25 kB / 0.9893 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005151/0.923, allocations: 2.214 MB / 0.9915 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004524/0.9235, allocations: 309.9 kB / 0.9918 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008303/0.9244, allocations: 0.5513 MB / 0.9923 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003833/0.9282, allocations: 2.408 MB / 0.9947 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.9282, allocations: 0 / 0.9947 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.765e-06/0.9282, allocations: 4 kB / 0.9947 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.838e-05/0.9282, allocations: 0 / 0.9947 GB, free: 6.988 MB / 0.7325 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.003733/0.932, allocations: 1.415 MB / 0.996 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.932, allocations: 7.969 kB / 0.9961 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002986/0.935, allocations: 0.6071 MB / 0.9966 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/0.9371, allocations: 1.004 MB / 0.9976 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001219/0.9383, allocations: 316.1 kB / 0.9979 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.9385, allocations: 71.53 kB / 0.998 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002655/0.9411, allocations: 1.17 MB / 0.9991 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.9412, allocations: 3.938 kB / 0.9991 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.441e-05/0.9413, allocations: 28.7 kB / 0.9992 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.003e-05/0.9413, allocations: 32.84 kB / 0.9992 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003331/0.9447, allocations: 1.333 MB / 1.001 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005686/0.9504, allocations: 2.985 MB / 1.003 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.9522, allocations: 0.7306 MB / 1.004 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008396/0.9531, allocations: 452.7 kB / 1.005 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/0.9541, allocations: 1.025 MB / 1.006 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.9552, allocations: 0.5363 MB / 1.006 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=59): time 2.394e-06/0.9552, allocations: 0 / 1.006 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of matching and sorting (n=59): time 0.003173/0.9584, allocations: 1.286 MB / 1.007 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.9585, allocations: 128.3 kB / 1.007 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/0.9605, allocations: 1.215 MB / 1.009 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.56e-05/0.9606, allocations: 40.61 kB / 1.009 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003901/0.961, allocations: 432.6 kB / 1.009 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.9612, allocations: 198.9 kB / 1.009 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.9613, allocations: 50.44 kB / 1.009 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.9614, allocations: 330.1 kB / 1.01 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.9629, allocations: 0.4937 MB / 1.01 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/0.9644, allocations: 0.6456 MB / 1.011 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002212/0.9666, allocations: 0.9971 MB / 1.012 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.9666, allocations: 0 / 1.012 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003429/0.9701, allocations: 1.312 MB / 1.013 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.575e-05/0.9701, allocations: 48.16 kB / 1.013 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.9702, allocations: 6.688 kB / 1.013 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.9702, allocations: 5.188 kB / 1.013 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009892/0.9712, allocations: 215.5 kB / 1.013 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.623e-05/0.9712, allocations: 13.28 kB / 1.013 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.9729, allocations: 301.4 kB / 1.014 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.9731, allocations: 44.64 kB / 1.014 GB, free: 10.79 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (69): * Single equations (assignments): 68 * 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.0005223/0.9736, allocations: 323.9 kB / 1.014 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.9738, allocations: 116.2 kB / 1.014 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/0.9761, allocations: 1.07 MB / 1.015 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.9761, allocations: 9.688 kB / 1.015 GB, free: 9.871 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.9761, allocations: 0 / 1.015 GB, free: 9.871 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.9762, allocations: 6.578 kB / 1.015 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005084/0.9813, allocations: 3.228 MB / 1.018 GB, free: 7.625 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/0.9813, allocations: 7.906 kB / 1.018 GB, free: 7.625 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006167/0.9819, allocations: 134.1 kB / 1.018 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.527e-05/0.9819, allocations: 14.88 kB / 1.018 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-05/0.982, allocations: 25.77 kB / 1.018 GB, free: 7.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/0.982, allocations: 10.88 kB / 1.018 GB, free: 7.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.982, allocations: 11.84 kB / 1.018 GB, free: 7.566 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00232/0.9843, allocations: 1.34 MB / 1.02 GB, free: 6.625 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006246/0.985, allocations: 328 kB / 1.02 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/0.9852, allocations: 29.7 kB / 1.02 GB, free: 6.336 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.9864, allocations: 130.3 kB / 1.02 GB, free: 6.289 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.9866, allocations: 60.64 kB / 1.02 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.097e-05/0.9867, allocations: 43.44 kB / 1.02 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001598/0.9883, allocations: 0.8893 MB / 1.021 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9883, allocations: 0 / 1.021 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001141/0.9894, allocations: 302 kB / 1.021 GB, free: 5.707 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (58): * Single equations (assignments): 53 * 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.0007558/0.9902, allocations: 342.5 kB / 1.022 GB, free: 5.52 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002603/0.9928, allocations: 1.084 MB / 1.023 GB, free: 4.984 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.9928, allocations: 2.094 kB / 1.023 GB, free: 4.984 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.9938, allocations: 0.5429 MB / 1.023 GB, free: 4.684 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004072/0.9979, allocations: 0.5451 MB / 1.024 GB, free: 4.426 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004458/1.002, allocations: 2.406 MB / 1.026 GB, free: 2.723 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007259/1.003, allocations: 1.076 MB / 1.027 GB, free: 1.84 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001241/1.004, allocations: 281 kB / 1.028 GB, free: 1.715 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/1.005, allocations: 83.7 kB / 1.028 GB, free: 1.695 MB / 0.7481 GB Notification: Performance of SimCode: time 1.363e-06/1.005, allocations: 0 / 1.028 GB, free: 1.695 MB / 0.7481 GB Notification: Performance of Templates: time 0.03601/1.041, allocations: 21.37 MB / 1.049 GB, free: 12.6 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) Environment - environmentSimulation: