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.001154/0.001154, allocations: 103.2 kB / 15.98 MB, free: 6.352 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.001141/0.001141, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7885/0.7885, allocations: 122.9 MB / 413.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 63.91 kB / 0.4906 GB, free: 7.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3848, allocations: 77.92 MB / 0.5667 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5508/0.9357, allocations: 191.5 MB / 0.7537 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0109/0.9467, allocations: 6.89 MB / 0.7604 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002367/0.9491, allocations: 41.78 kB / 0.7605 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00191/0.951, allocations: 0.5914 MB / 0.761 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006561/0.9576, allocations: 2.215 MB / 0.7632 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003702/0.9613, allocations: 1.3 MB / 0.7645 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004481/0.9658, allocations: 3.004 MB / 0.7674 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.9675, allocations: 0.9073 MB / 0.7683 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003335/0.9708, allocations: 1.153 MB / 0.7694 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001815/0.9727, allocations: 0.85 MB / 0.7702 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002214/0.9729, allocations: 100.3 kB / 0.7703 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004527/0.9774, allocations: 2.143 MB / 0.7724 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004678/0.9779, allocations: 369 kB / 0.7728 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009428/0.9789, allocations: 0.5897 MB / 0.7734 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005723/0.9846, allocations: 2.468 MB / 0.7758 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.9846, allocations: 1 kB / 0.7758 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9846, allocations: 1.094 kB / 0.7758 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.772e-05/0.9847, allocations: 0 / 0.7758 GB, free: 1.477 MB / 0.5762 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.003561/0.9882, allocations: 1.624 MB / 0.7774 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.9883, allocations: 11 kB / 0.7774 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002849/0.9911, allocations: 0.5326 MB / 0.7779 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/0.993, allocations: 0.9887 MB / 0.7789 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001095/0.9941, allocations: 275.5 kB / 0.7791 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.9943, allocations: 68.91 kB / 0.7792 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.9966, allocations: 1.127 MB / 0.7803 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.9966, allocations: 0 / 0.7803 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-05/0.9967, allocations: 30.38 kB / 0.7803 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/0.9967, allocations: 30.39 kB / 0.7803 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002863/0.9996, allocations: 1.198 MB / 0.7815 GB, free: 16.09 MB / 0.5919 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.00518/1.005, allocations: 3.218 MB / 0.7847 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/1.006, allocations: 0.6862 MB / 0.7853 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007006/1.007, allocations: 416.5 kB / 0.7857 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/1.008, allocations: 1.021 MB / 0.7867 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009036/1.009, allocations: 0.5186 MB / 0.7872 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.394e-06/1.009, allocations: 0 / 0.7872 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.002627/1.012, allocations: 1.224 MB / 0.7884 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/1.012, allocations: 146.9 kB / 0.7886 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/1.013, allocations: 1.204 MB / 0.7897 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.072e-05/1.014, allocations: 38.3 kB / 0.7898 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/1.014, allocations: 435 kB / 0.7902 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/1.014, allocations: 188.7 kB / 0.7904 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/1.014, allocations: 150.2 kB / 0.7905 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000111/1.014, allocations: 328.9 kB / 0.7908 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/1.016, allocations: 459.6 kB / 0.7913 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/1.017, allocations: 0.6176 MB / 0.7919 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/1.019, allocations: 0.9446 MB / 0.7928 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.019, allocations: 5.203 kB / 0.7928 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00291/1.022, allocations: 1.237 MB / 0.794 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.935e-05/1.022, allocations: 36.45 kB / 0.794 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/1.022, allocations: 2.531 kB / 0.794 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/1.022, allocations: 5.969 kB / 0.794 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009353/1.023, allocations: 207.5 kB / 0.7942 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/1.023, allocations: 7.375 kB / 0.7942 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/1.024, allocations: 268.3 kB / 0.7945 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-05/1.024, allocations: 40.25 kB / 0.7945 GB, free: 12.24 MB / 0.5919 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.0004293/1.025, allocations: 323 kB / 0.7949 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/1.025, allocations: 119 kB / 0.795 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/1.027, allocations: 0.9895 MB / 0.7959 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/1.027, allocations: 13.8 kB / 0.7959 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.027, allocations: 2.906 kB / 0.7959 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/1.027, allocations: 7.234 kB / 0.796 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004286/1.031, allocations: 3.159 MB / 0.799 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/1.031, allocations: 6.25 kB / 0.799 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/1.032, allocations: 121.3 kB / 0.7992 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/1.032, allocations: 15.77 kB / 0.7992 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.397e-05/1.032, allocations: 23.05 kB / 0.7992 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/1.032, allocations: 14.61 kB / 0.7992 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/1.032, allocations: 11.7 kB / 0.7992 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/1.034, allocations: 1.337 MB / 0.8005 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004724/1.035, allocations: 325.4 kB / 0.8008 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/1.035, allocations: 27.44 kB / 0.8009 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/1.036, allocations: 111.8 kB / 0.801 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/1.036, allocations: 63.7 kB / 0.801 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.601e-05/1.036, allocations: 37.75 kB / 0.8011 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001436/1.038, allocations: 0.8734 MB / 0.8019 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/1.038, allocations: 6.938 kB / 0.8019 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001121/1.039, allocations: 301.1 kB / 0.8022 GB, free: 10.22 MB / 0.5919 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.0006846/1.039, allocations: 338 kB / 0.8025 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002417/1.042, allocations: 1.053 MB / 0.8036 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.024e-06/1.042, allocations: 2.531 kB / 0.8036 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008862/1.043, allocations: 0.5134 MB / 0.8041 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/1.045, allocations: 0.5549 MB / 0.8046 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/1.049, allocations: 2.343 MB / 0.8069 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008039/1.05, allocations: 1.07 MB / 0.8079 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001358/1.052, allocations: 279.7 kB / 0.8082 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/1.052, allocations: 79.62 kB / 0.8083 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of SimCode: time 1.153e-06/1.052, allocations: 0 / 0.8083 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of Templates: time 0.03849/1.09, allocations: 21.96 MB / 0.8297 GB, free: 7.68 MB / 0.6075 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)