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.0008937/0.0008937, allocations: 95.77 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 180.9 kB / 16.92 MB, free: 6.754 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.417/1.417, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6927/0.6927, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003346, allocations: 8 kB / 495.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1644, allocations: 77.53 MB / 0.5599 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4853/0.6497, allocations: 189.1 MB / 0.7446 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01113/0.6609, allocations: 6.915 MB / 0.7514 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.6626, allocations: 39.69 kB / 0.7514 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001813/0.6644, allocations: 0.5593 MB / 0.752 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006616/0.6711, allocations: 2.191 MB / 0.7541 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003769/0.6748, allocations: 1.287 MB / 0.7554 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00591/0.6808, allocations: 3.738 MB / 0.759 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001779/0.6826, allocations: 0.7677 MB / 0.7598 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002525/0.6851, allocations: 0.9569 MB / 0.7607 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002304/0.6874, allocations: 0.7993 MB / 0.7615 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003098/0.6878, allocations: 44 kB / 0.7615 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004726/0.6925, allocations: 2.217 MB / 0.7637 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006151/0.6931, allocations: 310.9 kB / 0.764 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.6943, allocations: 0.5456 MB / 0.7645 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005195/0.6995, allocations: 2.391 MB / 0.7668 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.6995, allocations: 4 kB / 0.7668 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6995, allocations: 0 / 0.7668 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.775e-05/0.6996, allocations: 4 kB / 0.7669 GB, free: 2.863 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.003942/0.7035, allocations: 1.384 MB / 0.7682 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.861e-05/0.7036, allocations: 8.031 kB / 0.7682 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003271/0.7069, allocations: 0.5995 MB / 0.7688 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/0.7093, allocations: 0.9908 MB / 0.7698 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001252/0.7106, allocations: 324.9 kB / 0.7701 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/0.7108, allocations: 68 kB / 0.7701 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00294/0.7138, allocations: 1.148 MB / 0.7713 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.7138, allocations: 7.875 kB / 0.7713 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.714, allocations: 28 kB / 0.7713 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.057e-05/0.714, allocations: 33.3 kB / 0.7713 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003439/0.7175, allocations: 1.25 MB / 0.7725 GB, free: 12.9 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.007007/0.7245, allocations: 3.248 MB / 0.7757 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.7263, allocations: 0.6981 MB / 0.7764 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008471/0.7272, allocations: 431 kB / 0.7768 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009859/0.7282, allocations: 1.025 MB / 0.7778 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.7292, allocations: 0.5221 MB / 0.7783 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 3.176e-06/0.7292, allocations: 0 / 0.7783 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.003138/0.7324, allocations: 1.248 MB / 0.7795 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/0.7325, allocations: 140.8 kB / 0.7797 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/0.7347, allocations: 1.223 MB / 0.7809 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.729e-05/0.7348, allocations: 41.64 kB / 0.7809 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003783/0.7352, allocations: 437.5 kB / 0.7813 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.7354, allocations: 181.3 kB / 0.7815 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.7355, allocations: 57.69 kB / 0.7816 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.7357, allocations: 326 kB / 0.7819 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.737, allocations: 488.9 kB / 0.7823 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.7386, allocations: 0.6367 MB / 0.783 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/0.7408, allocations: 0.9848 MB / 0.7839 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.7408, allocations: 0 / 0.7839 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003472/0.7443, allocations: 1.291 MB / 0.7852 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.7444, allocations: 37.7 kB / 0.7852 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.7444, allocations: 4.625 kB / 0.7852 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.7445, allocations: 4 kB / 0.7852 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00097/0.7454, allocations: 216 kB / 0.7854 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/0.7455, allocations: 7.938 kB / 0.7854 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/0.7473, allocations: 314 kB / 0.7857 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.7474, allocations: 35.98 kB / 0.7858 GB, free: 14.82 MB / 0.6075 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.0006117/0.748, allocations: 327.3 kB / 0.7861 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/0.7483, allocations: 114.6 kB / 0.7862 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/0.7507, allocations: 1.021 MB / 0.7872 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.7507, allocations: 4 kB / 0.7872 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.7507, allocations: 3.938 kB / 0.7872 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.7507, allocations: 7.984 kB / 0.7872 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005293/0.756, allocations: 3.177 MB / 0.7903 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-05/0.7561, allocations: 8 kB / 0.7903 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006004/0.7567, allocations: 127.9 kB / 0.7904 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-05/0.7567, allocations: 12 kB / 0.7904 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-05/0.7568, allocations: 19.98 kB / 0.7905 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.776e-05/0.7568, allocations: 19.92 kB / 0.7905 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.849e-06/0.7568, allocations: 11.94 kB / 0.7905 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.7591, allocations: 1.361 MB / 0.7918 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005777/0.7597, allocations: 331.4 kB / 0.7921 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/0.7599, allocations: 28 kB / 0.7922 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.7612, allocations: 123.9 kB / 0.7923 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.7613, allocations: 59.77 kB / 0.7923 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-05/0.7614, allocations: 39.97 kB / 0.7924 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001738/0.7631, allocations: 0.8911 MB / 0.7932 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7631, allocations: 0 / 0.7932 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001172/0.7643, allocations: 299.8 kB / 0.7935 GB, free: 6.543 MB / 0.6075 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.0008414/0.7652, allocations: 357.2 kB / 0.7939 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002585/0.7678, allocations: 1.054 MB / 0.7949 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.7678, allocations: 4.125 kB / 0.7949 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009464/0.7687, allocations: 0.5202 MB / 0.7954 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003899/0.7726, allocations: 0.5378 MB / 0.7959 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004163/0.7768, allocations: 2.366 MB / 0.7983 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008859/0.7777, allocations: 1.073 MB / 0.7993 GB, free: 488 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001378/0.7791, allocations: 275.3 kB / 0.7996 GB, free: 212 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/0.7794, allocations: 75.42 kB / 0.7996 GB, free: 136 kB / 0.6075 GB Notification: Performance of SimCode: time 1.052e-06/0.7795, allocations: 0 / 0.7996 GB, free: 136 kB / 0.6075 GB Notification: Performance of Templates: time 0.0395/0.819, allocations: 21.12 MB / 0.8203 GB, free: 11.25 MB / 0.6387 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)