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.001311/0.001311, allocations: 110.4 kB / 17.03 MB, free: 6.094 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.001313/0.001313, allocations: 190.9 kB / 17.97 MB, free: 5.191 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.262/1.262, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6604/0.6604, allocations: 115.1 MB / 406.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 67.89 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3217, allocations: 76.14 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1824/0.5041, allocations: 194 MB / 0.747 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3096/0.8138, allocations: 6.92 MB / 0.7538 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.8157, allocations: 47.72 kB / 0.7538 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002155/0.8179, allocations: 0.6885 MB / 0.7545 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007312/0.8252, allocations: 2.337 MB / 0.7568 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003889/0.8292, allocations: 1.428 MB / 0.7582 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005234/0.8344, allocations: 2.999 MB / 0.7611 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001666/0.8361, allocations: 0.8846 MB / 0.7619 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003143/0.8393, allocations: 1.139 MB / 0.7631 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.8408, allocations: 0.7977 MB / 0.7638 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000237/0.841, allocations: 100.2 kB / 0.7639 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004606/0.8456, allocations: 2.062 MB / 0.7659 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004684/0.8461, allocations: 362.7 kB / 0.7663 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008567/0.847, allocations: 0.5881 MB / 0.7669 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003861/0.8509, allocations: 2.415 MB / 0.7692 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.8509, allocations: 2.062 kB / 0.7692 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8509, allocations: 0 / 0.7692 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.999e-05/0.8509, allocations: 4.188 kB / 0.7692 GB, free: 1.535 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.003558/0.8545, allocations: 1.632 MB / 0.7708 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.8545, allocations: 11.12 kB / 0.7708 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002795/0.8573, allocations: 0.5338 MB / 0.7714 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/0.8595, allocations: 1.043 MB / 0.7724 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.596e-05/0.8596, allocations: 53.41 kB / 0.7724 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.8598, allocations: 68.09 kB / 0.7725 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002375/0.8622, allocations: 1.115 MB / 0.7736 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.8622, allocations: 1.031 kB / 0.7736 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.846e-05/0.8623, allocations: 27.47 kB / 0.7736 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.656e-05/0.8624, allocations: 32.28 kB / 0.7736 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00328/0.8657, allocations: 1.167 MB / 0.7748 GB, free: 16.14 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.005624/0.8713, allocations: 3.158 MB / 0.7779 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.8728, allocations: 0.6895 MB / 0.7785 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006595/0.8735, allocations: 421.3 kB / 0.7789 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009084/0.8744, allocations: 1.024 MB / 0.7799 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000891/0.8753, allocations: 0.5111 MB / 0.7804 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.084e-06/0.8753, allocations: 4.391 kB / 0.7804 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.002631/0.8779, allocations: 1.226 MB / 0.7816 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.878, allocations: 142.3 kB / 0.7818 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.8795, allocations: 1.171 MB / 0.7829 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.617e-05/0.8796, allocations: 45.89 kB / 0.783 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.8799, allocations: 442.1 kB / 0.7834 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.88, allocations: 188 kB / 0.7836 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.8802, allocations: 143.2 kB / 0.7837 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.8804, allocations: 338.5 kB / 0.784 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.8814, allocations: 435.8 kB / 0.7844 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.8826, allocations: 0.6005 MB / 0.785 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/0.8843, allocations: 0.9253 MB / 0.7859 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.8843, allocations: 0 / 0.7859 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002564/0.8869, allocations: 1.193 MB / 0.7871 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.8869, allocations: 40.97 kB / 0.7871 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.8869, allocations: 4.719 kB / 0.7871 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.887, allocations: 6.844 kB / 0.7871 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008225/0.8878, allocations: 189 kB / 0.7873 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.8878, allocations: 8.891 kB / 0.7873 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.8892, allocations: 244.1 kB / 0.7876 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.893e-05/0.8893, allocations: 35.97 kB / 0.7876 GB, free: 12.38 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.0003964/0.8897, allocations: 343.2 kB / 0.7879 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.8899, allocations: 115 kB / 0.788 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.8917, allocations: 0.9967 MB / 0.789 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.8917, allocations: 7.016 kB / 0.789 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8917, allocations: 0.8125 kB / 0.789 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.8918, allocations: 5.5 kB / 0.789 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004248/0.896, allocations: 3.155 MB / 0.7921 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.896, allocations: 8.812 kB / 0.7921 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000519/0.8966, allocations: 120.4 kB / 0.7922 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/0.8966, allocations: 14.41 kB / 0.7922 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.404e-05/0.8966, allocations: 25.11 kB / 0.7923 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/0.8967, allocations: 15.44 kB / 0.7923 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.8967, allocations: 11.16 kB / 0.7923 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/0.8986, allocations: 1.339 MB / 0.7936 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005513/0.8992, allocations: 333.5 kB / 0.7939 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.8993, allocations: 22.25 kB / 0.7939 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009986/0.9003, allocations: 101.3 kB / 0.794 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-05/0.9004, allocations: 62.2 kB / 0.7941 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.352e-05/0.9005, allocations: 38.25 kB / 0.7941 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001291/0.9018, allocations: 0.8516 MB / 0.795 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9018, allocations: 0 / 0.795 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00108/0.9029, allocations: 303.8 kB / 0.7952 GB, free: 10.38 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.0006697/0.9036, allocations: 350.4 kB / 0.7956 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00211/0.9057, allocations: 1.018 MB / 0.7966 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.9057, allocations: 3.406 kB / 0.7966 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007684/0.9065, allocations: 0.514 MB / 0.7971 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/0.9087, allocations: 0.5441 MB / 0.7976 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.9119, allocations: 2.028 MB / 0.7996 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005768/0.9125, allocations: 1.073 MB / 0.8006 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008803/0.9134, allocations: 275.1 kB / 0.8009 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.9136, allocations: 83.56 kB / 0.801 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of SimCode: time 6.82e-07/0.9136, allocations: 0 / 0.801 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of Templates: time 0.03296/0.9466, allocations: 22 MB / 0.8225 GB, free: 10.55 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)