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.001304/0.001304, allocations: 115.1 kB / 17.04 MB, free: 5.805 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.001155/0.001155, allocations: 195 kB / 17.98 MB, free: 5.031 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.313/1.313, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7505/0.7505, allocations: 115.1 MB / 407 MB, free: 6.312 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 59.89 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3475, allocations: 76.15 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1904/0.5379, allocations: 194 MB / 0.747 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.309/0.8469, allocations: 6.917 MB / 0.7538 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.8483, allocations: 48.66 kB / 0.7538 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.8499, allocations: 0.6826 MB / 0.7545 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005596/0.8555, allocations: 2.344 MB / 0.7568 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003495/0.859, allocations: 1.429 MB / 0.7582 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004536/0.8636, allocations: 2.99 MB / 0.7611 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.865, allocations: 0.897 MB / 0.762 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002644/0.8676, allocations: 1.135 MB / 0.7631 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.8689, allocations: 0.7978 MB / 0.7638 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.8691, allocations: 100.5 kB / 0.7639 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004049/0.8732, allocations: 2.057 MB / 0.766 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004198/0.8736, allocations: 372.4 kB / 0.7663 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000724/0.8744, allocations: 0.5867 MB / 0.7669 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003599/0.878, allocations: 2.415 MB / 0.7692 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.878, allocations: 1.703 kB / 0.7692 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.844e-06/0.878, allocations: 1.75 kB / 0.7692 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.878, allocations: 0 / 0.7692 GB, free: 1.527 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.003597/0.8816, allocations: 1.638 MB / 0.7708 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.8817, allocations: 9.938 kB / 0.7709 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003074/0.8848, allocations: 0.5292 MB / 0.7714 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/0.8871, allocations: 1.048 MB / 0.7724 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.179e-05/0.8872, allocations: 53.94 kB / 0.7724 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.8873, allocations: 67.09 kB / 0.7725 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/0.8897, allocations: 1.105 MB / 0.7736 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.8898, allocations: 2.344 kB / 0.7736 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-05/0.8899, allocations: 28.59 kB / 0.7736 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.501e-05/0.8899, allocations: 30.5 kB / 0.7736 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002983/0.8929, allocations: 1.17 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.005662/0.8986, allocations: 3.156 MB / 0.7779 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.9002, allocations: 0.6916 MB / 0.7785 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006909/0.9009, allocations: 426.2 kB / 0.7789 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008634/0.9018, allocations: 1.02 MB / 0.7799 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009218/0.9027, allocations: 0.5151 MB / 0.7804 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.294e-06/0.9027, allocations: 0 / 0.7804 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.002712/0.9054, allocations: 1.227 MB / 0.7816 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.9055, allocations: 141.3 kB / 0.7818 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.9072, allocations: 1.174 MB / 0.7829 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.866e-05/0.9072, allocations: 38.64 kB / 0.783 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/0.9075, allocations: 441 kB / 0.7834 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.9077, allocations: 190.9 kB / 0.7836 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/0.9079, allocations: 143.2 kB / 0.7837 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.9081, allocations: 338 kB / 0.784 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.9091, allocations: 439.8 kB / 0.7844 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.9104, allocations: 0.5931 MB / 0.785 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/0.9122, allocations: 0.933 MB / 0.7859 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.9122, allocations: 0.9062 kB / 0.7859 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002741/0.915, allocations: 1.195 MB / 0.7871 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.915, allocations: 40.7 kB / 0.7871 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.915, allocations: 3.312 kB / 0.7871 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.9151, allocations: 8.562 kB / 0.7872 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008872/0.916, allocations: 184.5 kB / 0.7873 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.916, allocations: 9.062 kB / 0.7873 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.9175, allocations: 243.5 kB / 0.7876 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.084e-05/0.9176, allocations: 40.94 kB / 0.7876 GB, free: 12.37 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.0004479/0.918, allocations: 333.4 kB / 0.7879 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.9182, allocations: 122.3 kB / 0.788 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/0.9202, allocations: 0.99 MB / 0.789 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.9202, allocations: 8.344 kB / 0.789 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9202, allocations: 0 / 0.789 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.9202, allocations: 6.766 kB / 0.789 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004528/0.9248, allocations: 3.158 MB / 0.7921 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/0.9248, allocations: 8.656 kB / 0.7921 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/0.9254, allocations: 119.3 kB / 0.7922 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/0.9254, allocations: 18.09 kB / 0.7922 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.896e-05/0.9255, allocations: 27.08 kB / 0.7923 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/0.9255, allocations: 15.22 kB / 0.7923 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.9255, allocations: 10.41 kB / 0.7923 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/0.9276, allocations: 1.339 MB / 0.7936 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006237/0.9282, allocations: 325.6 kB / 0.7939 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/0.9284, allocations: 28.62 kB / 0.7939 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.9297, allocations: 102.8 kB / 0.794 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.9298, allocations: 54.33 kB / 0.7941 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.732e-05/0.9299, allocations: 44.98 kB / 0.7941 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001422/0.9313, allocations: 0.8438 MB / 0.795 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.72e-07/0.9313, allocations: 0 / 0.795 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001177/0.9325, allocations: 301.6 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.0008049/0.9333, allocations: 350.6 kB / 0.7956 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002308/0.9356, allocations: 1.016 MB / 0.7966 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.9357, allocations: 5.938 kB / 0.7966 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008751/0.9365, allocations: 0.512 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.002703/0.9392, allocations: 0.5544 MB / 0.7976 GB, free: 10 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/0.9428, allocations: 2.03 MB / 0.7996 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006559/0.9435, allocations: 1.073 MB / 0.8007 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001056/0.9446, allocations: 277.2 kB / 0.8009 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/0.9448, allocations: 81.67 kB / 0.801 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of SimCode: time 7.62e-07/0.9449, allocations: 2.406 kB / 0.801 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of Templates: time 0.03544/0.9803, allocations: 22.01 MB / 0.8225 GB, free: 10.54 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)