Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00156/0.00156, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001771/0.001771, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002126/0.002126, allocations: 293.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9253/0.9253, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 95.86 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3895, allocations: 86.98 MB / 0.7671 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1831/0.5727, allocations: 194 MB / 0.9565 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3564/0.9291, allocations: 6.911 MB / 0.9633 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009052/0.93, allocations: 46.94 kB / 0.9633 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.9315, allocations: 0.6934 MB / 0.964 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00473/0.9363, allocations: 2.337 MB / 0.9663 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002984/0.9393, allocations: 1.422 MB / 0.9677 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003017/0.9423, allocations: 2.997 MB / 0.9706 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009817/0.9433, allocations: 0.8884 MB / 0.9715 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.9452, allocations: 1.152 MB / 0.9726 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009942/0.9462, allocations: 0.7934 MB / 0.9734 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.9464, allocations: 99.31 kB / 0.9735 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003088/0.9495, allocations: 2.06 MB / 0.9755 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002781/0.9497, allocations: 370 kB / 0.9758 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004779/0.9502, allocations: 0.5871 MB / 0.9764 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002324/0.9526, allocations: 2.421 MB / 0.9788 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.9526, allocations: 0 / 0.9788 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9526, allocations: 4.969 kB / 0.9788 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.9526, allocations: 0 / 0.9788 GB, free: 1.621 MB / 0.7169 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.002933/0.9555, allocations: 1.636 MB / 0.9804 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.9556, allocations: 10.56 kB / 0.9804 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00288/0.9585, allocations: 0.5333 MB / 0.9809 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/0.9603, allocations: 1.041 MB / 0.9819 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/0.9604, allocations: 56.06 kB / 0.982 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.9605, allocations: 67.97 kB / 0.982 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.9626, allocations: 1.105 MB / 0.9831 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.9626, allocations: 4.5 kB / 0.9831 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.441e-05/0.9627, allocations: 27.22 kB / 0.9831 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.9628, allocations: 32.75 kB / 0.9832 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002761/0.9655, allocations: 1.163 MB / 0.9843 GB, free: 16.24 MB / 0.7325 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.004669/0.9702, allocations: 3.16 MB / 0.9874 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.9717, allocations: 0.6935 MB / 0.9881 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006987/0.9724, allocations: 434.8 kB / 0.9885 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008168/0.9733, allocations: 1.023 MB / 0.9895 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009019/0.9742, allocations: 0.512 MB / 0.99 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 2.164e-06/0.9742, allocations: 0 / 0.99 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.00264/0.9768, allocations: 1.221 MB / 0.9912 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.9769, allocations: 137 kB / 0.9913 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.9785, allocations: 1.181 MB / 0.9925 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.784e-05/0.9786, allocations: 36.11 kB / 0.9925 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/0.9789, allocations: 432.5 kB / 0.9929 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.979, allocations: 198.8 kB / 0.9931 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.9792, allocations: 139.5 kB / 0.9932 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.9793, allocations: 329.2 kB / 0.9935 GB, free: 13 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.9805, allocations: 440.6 kB / 0.994 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.9818, allocations: 0.5958 MB / 0.9945 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/0.9837, allocations: 0.9321 MB / 0.9955 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.9838, allocations: 3.781 kB / 0.9955 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00283/0.9866, allocations: 1.198 MB / 0.9966 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.9866, allocations: 39.86 kB / 0.9967 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.9867, allocations: 3.969 kB / 0.9967 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.9867, allocations: 7.312 kB / 0.9967 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008974/0.9876, allocations: 186.8 kB / 0.9969 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.9876, allocations: 11.83 kB / 0.9969 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.9891, allocations: 247.4 kB / 0.9971 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.482e-05/0.9892, allocations: 36.64 kB / 0.9971 GB, free: 12.47 MB / 0.7325 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.0004317/0.9896, allocations: 331.8 kB / 0.9974 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.9898, allocations: 118.3 kB / 0.9976 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/0.9917, allocations: 0.9876 MB / 0.9985 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.9917, allocations: 3.875 kB / 0.9985 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.9917, allocations: 3.047 kB / 0.9985 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/0.9921, allocations: 325.5 kB / 0.9988 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.9922, allocations: 14.22 kB / 0.9989 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009876/0.9932, allocations: 95.27 kB / 0.9989 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.012e-05/0.9933, allocations: 38.25 kB / 0.999 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002019/0.9954, allocations: 1.207 MB / 1 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001823/0.9972, allocations: 1.293 MB / 1.001 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006936/0.9979, allocations: 410.9 kB / 1.002 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001255/0.9992, allocations: 0.8496 MB / 1.003 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of Backend: time 3.1e-07/0.9992, allocations: 4 kB / 1.003 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003169/1.002, allocations: 1.193 MB / 1.004 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of SimCode: time 0.00326/1.006, allocations: 2.327 MB / 1.006 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of Templates: time 0.03593/1.042, allocations: 26.77 MB / 1.032 GB, free: 13.56 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)