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.001034/0.001034, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001012/0.001012, allocations: 190.7 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.287/1.287, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 284.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.031/1.031, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 107.8 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3657, allocations: 86.97 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.181/0.5468, allocations: 194 MB / 0.9565 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3516/0.8984, allocations: 6.933 MB / 0.9633 GB, free: 2 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.8996, allocations: 46.06 kB / 0.9633 GB, free: 2 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.9012, allocations: 0.7055 MB / 0.964 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005933/0.9071, allocations: 2.443 MB / 0.9664 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003504/0.9107, allocations: 1.431 MB / 0.9678 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00371/0.9144, allocations: 3 MB / 0.9707 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.9155, allocations: 0.8862 MB / 0.9716 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.9178, allocations: 1.155 MB / 0.9727 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.9188, allocations: 0.7997 MB / 0.9735 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.919, allocations: 99.83 kB / 0.9736 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00368/0.9227, allocations: 2.067 MB / 0.9756 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003274/0.923, allocations: 369.4 kB / 0.976 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005806/0.9236, allocations: 0.5843 MB / 0.9765 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002872/0.9265, allocations: 2.421 MB / 0.9789 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.9265, allocations: 0.8438 kB / 0.9789 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9265, allocations: 2.469 kB / 0.9789 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.9265, allocations: 0 / 0.9789 GB, free: 1.609 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.003119/0.9297, allocations: 1.635 MB / 0.9805 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.9297, allocations: 10.03 kB / 0.9805 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002902/0.9326, allocations: 0.5351 MB / 0.981 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002012/0.9346, allocations: 1.044 MB / 0.982 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.794e-05/0.9347, allocations: 55.69 kB / 0.9821 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.9348, allocations: 67.72 kB / 0.9822 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.937, allocations: 1.108 MB / 0.9832 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.9371, allocations: 1.5 kB / 0.9833 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.944e-05/0.9372, allocations: 30.42 kB / 0.9833 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.212e-05/0.9372, allocations: 29.56 kB / 0.9833 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002848/0.94, allocations: 1.165 MB / 0.9844 GB, free: 16.23 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.004923/0.945, allocations: 3.163 MB / 0.9875 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.9466, allocations: 0.6931 MB / 0.9882 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007097/0.9473, allocations: 420.2 kB / 0.9886 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008252/0.9481, allocations: 1.025 MB / 0.9896 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009056/0.949, allocations: 0.5133 MB / 0.9901 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 3.026e-06/0.9491, allocations: 0 / 0.9901 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.002689/0.9517, allocations: 1.219 MB / 0.9913 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/0.9518, allocations: 144.5 kB / 0.9914 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.9534, allocations: 1.176 MB / 0.9926 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.96e-05/0.9535, allocations: 37.98 kB / 0.9926 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.9538, allocations: 437.1 kB / 0.993 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.9539, allocations: 191.4 kB / 0.9932 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.9542, allocations: 143.2 kB / 0.9934 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.9543, allocations: 332.4 kB / 0.9937 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.9555, allocations: 441.4 kB / 0.9941 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.9568, allocations: 0.5936 MB / 0.9947 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.9587, allocations: 0.9342 MB / 0.9956 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.9587, allocations: 3.156 kB / 0.9956 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002861/0.9616, allocations: 1.191 MB / 0.9968 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/0.9617, allocations: 47.14 kB / 0.9968 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.9617, allocations: 6.656 kB / 0.9968 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.9617, allocations: 6.938 kB / 0.9968 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009358/0.9627, allocations: 186.7 kB / 0.997 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.9627, allocations: 6.312 kB / 0.997 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.9641, allocations: 244.2 kB / 0.9972 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.787e-05/0.9642, allocations: 40.67 kB / 0.9973 GB, free: 12.45 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.0004037/0.9646, allocations: 332.8 kB / 0.9976 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.9648, allocations: 117.8 kB / 0.9977 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/0.9668, allocations: 0.9899 MB / 0.9987 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.9668, allocations: 6.141 kB / 0.9987 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.9668, allocations: 1.203 kB / 0.9987 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004613/0.9673, allocations: 328 kB / 0.999 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.9675, allocations: 12.66 kB / 0.999 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009829/0.9684, allocations: 95.97 kB / 0.9991 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.478e-05/0.9685, allocations: 41.27 kB / 0.9991 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002105/0.9706, allocations: 1.207 MB / 1 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001869/0.9725, allocations: 1.293 MB / 1.002 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000708/0.9732, allocations: 411.8 kB / 1.002 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0013/0.9746, allocations: 0.8497 MB / 1.003 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of Backend: time 4.61e-07/0.9746, allocations: 0 / 1.003 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003422/0.978, allocations: 1.197 MB / 1.004 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of SimCode: time 0.003531/0.9815, allocations: 2.334 MB / 1.006 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of Templates: time 0.03711/1.019, allocations: 26.76 MB / 1.032 GB, free: 13.44 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)