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.001238/0.001238, allocations: 102.5 kB / 16.52 MB, free: 6.664 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.001112/0.001112, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.311/1.311, allocations: 222.9 MB / 241.1 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7298/0.7298, allocations: 115.3 MB / 406.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 55.91 kB / 493.5 MB, free: 0.8828 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3989, allocations: 76.17 MB / 0.5564 GB, free: 36.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2019/0.6008, allocations: 191.6 MB / 0.7435 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3615/0.9624, allocations: 6.985 MB / 0.7503 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.9645, allocations: 42.47 kB / 0.7504 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.9666, allocations: 0.5629 MB / 0.7509 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00639/0.973, allocations: 2.182 MB / 0.7531 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004051/0.9771, allocations: 1.287 MB / 0.7543 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008054/0.9852, allocations: 3.738 MB / 0.758 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002001/0.9872, allocations: 0.7893 MB / 0.7587 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002798/0.99, allocations: 0.9739 MB / 0.7597 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002676/0.9927, allocations: 0.8116 MB / 0.7605 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003006/0.993, allocations: 47.22 kB / 0.7605 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005563/0.9986, allocations: 2.229 MB / 0.7627 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006159/0.9992, allocations: 322.8 kB / 0.763 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001095/1, allocations: 0.5356 MB / 0.7635 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002806/1.003, allocations: 1.762 MB / 0.7653 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.003, allocations: 0 / 0.7653 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.153e-06/1.003, allocations: 0.6562 kB / 0.7653 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.835e-05/1.003, allocations: 0 / 0.7653 GB, free: 1.68 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.003951/1.007, allocations: 1.627 MB / 0.7668 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.007, allocations: 13.69 kB / 0.7669 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003158/1.01, allocations: 0.5329 MB / 0.7674 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/1.013, allocations: 0.9843 MB / 0.7683 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001225/1.014, allocations: 284.2 kB / 0.7686 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/1.014, allocations: 67.19 kB / 0.7687 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/1.017, allocations: 1.124 MB / 0.7698 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/1.017, allocations: 0.5938 kB / 0.7698 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.711e-05/1.017, allocations: 25.94 kB / 0.7698 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-05/1.017, allocations: 35.02 kB / 0.7698 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003294/1.02, allocations: 1.201 MB / 0.771 GB, free: 16.2 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.006372/1.027, allocations: 3.211 MB / 0.7741 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/1.028, allocations: 0.6853 MB / 0.7748 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008228/1.029, allocations: 424.2 kB / 0.7752 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009781/1.03, allocations: 1.024 MB / 0.7762 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/1.031, allocations: 0.5195 MB / 0.7767 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.334e-06/1.031, allocations: 1.203 kB / 0.7767 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.002833/1.034, allocations: 1.218 MB / 0.7779 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/1.034, allocations: 140.2 kB / 0.778 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/1.036, allocations: 1.198 MB / 0.7792 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/1.036, allocations: 39.77 kB / 0.7793 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/1.036, allocations: 435.7 kB / 0.7797 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/1.037, allocations: 195 kB / 0.7799 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/1.037, allocations: 144.9 kB / 0.78 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.037, allocations: 336.7 kB / 0.7803 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/1.038, allocations: 455.8 kB / 0.7807 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/1.04, allocations: 0.6188 MB / 0.7814 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/1.042, allocations: 0.9457 MB / 0.7823 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.042, allocations: 0 / 0.7823 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003151/1.045, allocations: 1.237 MB / 0.7835 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.269e-05/1.045, allocations: 38.89 kB / 0.7835 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.045, allocations: 4.766 kB / 0.7835 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/1.045, allocations: 4.875 kB / 0.7835 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009543/1.046, allocations: 198.7 kB / 0.7837 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/1.046, allocations: 9 kB / 0.7837 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/1.048, allocations: 266.2 kB / 0.784 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/1.048, allocations: 38.75 kB / 0.784 GB, free: 12.23 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.0006113/1.048, allocations: 327.7 kB / 0.7843 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002883/1.049, allocations: 121 kB / 0.7844 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/1.051, allocations: 0.9976 MB / 0.7854 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/1.051, allocations: 5.375 kB / 0.7854 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/1.051, allocations: 6.406 kB / 0.7854 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/1.051, allocations: 3.516 kB / 0.7854 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004753/1.056, allocations: 3.162 MB / 0.7885 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/1.056, allocations: 6.156 kB / 0.7885 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/1.056, allocations: 121.2 kB / 0.7886 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.678e-05/1.056, allocations: 19.36 kB / 0.7887 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.85e-05/1.056, allocations: 26.64 kB / 0.7887 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.347e-05/1.056, allocations: 15.97 kB / 0.7887 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/1.056, allocations: 9.75 kB / 0.7887 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/1.059, allocations: 1.336 MB / 0.79 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006019/1.059, allocations: 333 kB / 0.7903 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/1.059, allocations: 24.16 kB / 0.7904 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/1.061, allocations: 110.8 kB / 0.7905 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/1.061, allocations: 58.33 kB / 0.7905 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.731e-05/1.061, allocations: 41.02 kB / 0.7906 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001525/1.062, allocations: 0.8735 MB / 0.7914 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/1.062, allocations: 0 / 0.7914 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001145/1.064, allocations: 300.7 kB / 0.7917 GB, free: 10.2 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.0006907/1.064, allocations: 345.5 kB / 0.792 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002294/1.067, allocations: 1.016 MB / 0.793 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.067, allocations: 2.875 kB / 0.793 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008524/1.067, allocations: 0.5196 MB / 0.7935 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002752/1.07, allocations: 0.5343 MB / 0.7941 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/1.074, allocations: 2.39 MB / 0.7964 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006237/1.075, allocations: 1.06 MB / 0.7974 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/1.075, allocations: 94.39 kB / 0.7975 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of SimCode: time 1.252e-06/1.075, allocations: 0 / 0.7975 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of Templates: time 0.02879/1.104, allocations: 18.71 MB / 0.8158 GB, free: 13.46 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)