Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.069/2.069, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001358/0.001358, allocations: 181.5 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.24/2.24, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009062/0.0009061, allocations: 87.11 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000469/0.0004692, allocations: 11.78 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1875, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.8648/1.052, allocations: 176.8 MB / 1.072 GB, free: 4.289 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01366/1.066, allocations: 6.623 MB / 1.079 GB, free: 4.109 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001917/1.068, allocations: 39.41 kB / 1.079 GB, free: 4.109 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002125/1.07, allocations: 473.1 kB / 1.079 GB, free: 4.105 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006723/1.077, allocations: 1.685 MB / 1.081 GB, free: 4.027 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005076/1.082, allocations: 1.09 MB / 1.082 GB, free: 3.977 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006295/1.088, allocations: 3.227 MB / 1.085 GB, free: 3.961 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002002/1.09, allocations: 0.7126 MB / 1.086 GB, free: 3.875 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002892/1.093, allocations: 0.9397 MB / 1.087 GB, free: 3.871 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002064/1.095, allocations: 0.8026 MB / 1.087 GB, free: 3.867 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002671/1.096, allocations: 42.72 kB / 1.087 GB, free: 3.867 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004477/1.1, allocations: 1.217 MB / 1.089 GB, free: 3.848 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006202/1.101, allocations: 303.9 kB / 1.089 GB, free: 3.848 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005519/1.101, allocations: 234.9 kB / 1.089 GB, free: 3.816 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003431/1.105, allocations: 1.633 MB / 1.091 GB, free: 3.695 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.105, allocations: 0 / 1.091 GB, free: 3.695 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.685e-06/1.105, allocations: 3.156 kB / 1.091 GB, free: 3.695 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.388e-05/1.105, allocations: 4 kB / 1.091 GB, free: 3.691 MB / 0.698 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.006208/1.111, allocations: 1.421 MB / 1.092 GB, free: 18.86 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/1.111, allocations: 8.094 kB / 1.092 GB, free: 18.86 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005295/1.117, allocations: 0.6053 MB / 1.093 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003657/1.12, allocations: 0.9639 MB / 1.094 GB, free: 18.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003106/1.123, allocations: 316.9 kB / 1.094 GB, free: 18.44 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003266/1.124, allocations: 66.98 kB / 1.094 GB, free: 18.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00448/1.128, allocations: 1.179 MB / 1.095 GB, free: 18.33 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/1.128, allocations: 1.859 kB / 1.095 GB, free: 18.33 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/1.129, allocations: 24.84 kB / 1.095 GB, free: 18.33 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.868e-05/1.129, allocations: 33.41 kB / 1.095 GB, free: 18.33 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006593/1.135, allocations: 1.326 MB / 1.097 GB, free: 18.29 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/1.145, allocations: 3.078 MB / 1.1 GB, free: 17.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00304/1.148, allocations: 0.7315 MB / 1.1 GB, free: 17.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/1.15, allocations: 455.6 kB / 1.101 GB, free: 17.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/1.151, allocations: 1.023 MB / 1.102 GB, free: 16.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001599/1.153, allocations: 0.533 MB / 1.102 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 3.947e-06/1.153, allocations: 2.906 kB / 1.102 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.004867/1.158, allocations: 1.283 MB / 1.103 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/1.158, allocations: 121.3 kB / 1.104 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003055/1.161, allocations: 1.205 MB / 1.105 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002263/1.161, allocations: 38.67 kB / 1.105 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004305/1.162, allocations: 433.2 kB / 1.105 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/1.162, allocations: 197.2 kB / 1.105 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-05/1.162, allocations: 11.91 kB / 1.105 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.162, allocations: 330.8 kB / 1.106 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002385/1.164, allocations: 0.4947 MB / 1.106 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002559/1.167, allocations: 0.6463 MB / 1.107 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/1.169, allocations: 0.5449 MB / 1.107 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.169, allocations: 2.969 kB / 1.107 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.005551/1.175, allocations: 1.307 MB / 1.109 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.52e-05/1.175, allocations: 40.77 kB / 1.109 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.175, allocations: 3.312 kB / 1.109 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.175, allocations: 5.25 kB / 1.109 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/1.177, allocations: 226.6 kB / 1.109 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/1.177, allocations: 5.094 kB / 1.109 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/1.18, allocations: 305 kB / 1.109 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/1.18, allocations: 35.61 kB / 1.109 GB, free: 14.7 MB / 0.7136 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 ($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 (69): * Single equations (assignments): 68 * 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.0006944/1.181, allocations: 336.9 kB / 1.11 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/1.181, allocations: 113.8 kB / 1.11 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003411/1.184, allocations: 1.064 MB / 1.111 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/1.185, allocations: 3.141 kB / 1.111 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.185, allocations: 0 / 1.111 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006734/1.185, allocations: 324.7 kB / 1.111 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/1.185, allocations: 15.31 kB / 1.111 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/1.187, allocations: 128.5 kB / 1.111 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/1.188, allocations: 34.08 kB / 1.111 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003693/1.191, allocations: 1.18 MB / 1.112 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003241/1.194, allocations: 1.256 MB / 1.114 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001339/1.196, allocations: 444.4 kB / 1.114 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002454/1.198, allocations: 0.8779 MB / 1.115 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of Backend: time 6.52e-07/1.198, allocations: 0 / 1.115 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005184/1.204, allocations: 1.244 MB / 1.116 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of SimCode: time 0.006147/1.21, allocations: 2.582 MB / 1.119 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of Templates: time 0.06678/1.277, allocations: 25.34 MB / 1.143 GB, free: 15.72 MB / 0.7292 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)