Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation") translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7458/0.7458, allocations: 128.7 MB / 144.5 MB, free: 1.418 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 185.5 kB / 174.2 MB, free: 5.938 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205 MB / 408.9 MB, free: 9.746 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.001021, allocations: 104.2 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009971/0.0009972, allocations: 51.89 kB / 0.558 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1124, allocations: 75.48 MB / 0.6317 GB, free: 33.03 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation): time 0.4073/0.5197, allocations: 159 MB / 0.7869 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002602/0.5224, allocations: 2.39 MB / 0.7893 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.5226, allocations: 5.594 kB / 0.7893 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005962/0.5232, allocations: 223.9 kB / 0.7895 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006599/0.5239, allocations: 427.5 kB / 0.7899 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005641/0.5245, allocations: 314 kB / 0.7902 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001223/0.5257, allocations: 1.61 MB / 0.7918 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.5259, allocations: 105.7 kB / 0.7919 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009231/0.5268, allocations: 0.5045 MB / 0.7924 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004548/0.5273, allocations: 402.7 kB / 0.7927 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.467e-05/0.5274, allocations: 25.56 kB / 0.7928 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.5275, allocations: 30.06 kB / 0.7928 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.5277, allocations: 194.4 kB / 0.793 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002605/0.528, allocations: 254.5 kB / 0.7932 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005621/0.5286, allocations: 0.6892 MB / 0.7939 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.5286, allocations: 0 / 0.7939 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.01e-07/0.5286, allocations: 7.938 kB / 0.7939 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.5286, allocations: 0 / 0.7939 GB, free: 12.42 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001184/0.5298, allocations: 0.7263 MB / 0.7946 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.5298, allocations: 16.44 kB / 0.7946 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002722/0.5301, allocations: 58.28 kB / 0.7947 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.5306, allocations: 325.2 kB / 0.795 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.5306, allocations: 28.72 kB / 0.795 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-05/0.5307, allocations: 34.5 kB / 0.7951 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005963/0.5313, allocations: 405.6 kB / 0.7954 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.5313, allocations: 9.812 kB / 0.7955 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.547e-05/0.5313, allocations: 17.7 kB / 0.7955 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.5313, allocations: 13.44 kB / 0.7955 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005626/0.5319, allocations: 388.6 kB / 0.7959 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.534, allocations: 1.568 MB / 0.7974 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/0.5344, allocations: 284.7 kB / 0.7977 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.5346, allocations: 158.2 kB / 0.7978 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.5347, allocations: 9.203 kB / 0.7978 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.5347, allocations: 36.94 kB / 0.7979 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 1.553e-06/0.5347, allocations: 4 kB / 0.7979 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41): time 0.004191/0.5389, allocations: 1.833 MB / 0.7996 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.539, allocations: 59.66 kB / 0.7997 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.5393, allocations: 320.1 kB / 0.8 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.5393, allocations: 35.73 kB / 0.8 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.5395, allocations: 194.2 kB / 0.8002 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.347e-05/0.5396, allocations: 146 kB / 0.8004 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.5397, allocations: 76.98 kB / 0.8004 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5399, allocations: 347.7 kB / 0.8008 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.5401, allocations: 164.3 kB / 0.8009 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.5404, allocations: 218.5 kB / 0.8011 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005594/0.541, allocations: 387.9 kB / 0.8015 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.541, allocations: 0.625 kB / 0.8015 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001027/0.542, allocations: 0.5544 MB / 0.802 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.5421, allocations: 6.5 kB / 0.8021 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.5421, allocations: 1.062 kB / 0.8021 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000317/0.5424, allocations: 98.23 kB / 0.8022 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007364/0.5431, allocations: 112.4 kB / 0.8023 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003367/0.5465, allocations: 4.179 MB / 0.8063 GB, free: 4.441 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.5469, allocations: 33.52 kB / 0.8064 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.5469, allocations: 18.97 kB / 0.8064 GB, free: 4.43 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002109/0.5471, allocations: 190.7 kB / 0.8066 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.786e-05/0.5472, allocations: 40 kB / 0.8066 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.5473, allocations: 50.48 kB / 0.8067 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.5474, allocations: 4.844 kB / 0.8067 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.5474, allocations: 0 / 0.8067 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000751/0.5481, allocations: 0.6649 MB / 0.8073 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.5497, allocations: 1.14 MB / 0.8084 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.5497, allocations: 2.156 kB / 0.8084 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006524/0.5504, allocations: 114.8 kB / 0.8085 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001756/0.5506, allocations: 59.86 kB / 0.8086 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.5506, allocations: 18.5 kB / 0.8086 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.5519, allocations: 1.557 MB / 0.8101 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5519, allocations: 2.406 kB / 0.8101 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008426/0.5603, allocations: 5.724 MB / 0.8157 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/0.5606, allocations: 167.4 kB / 0.8159 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.166e-05/0.5607, allocations: 11.56 kB / 0.8159 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004197/0.5611, allocations: 38.5 kB / 0.8159 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.732e-05/0.5612, allocations: 27.88 kB / 0.816 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.5612, allocations: 26.38 kB / 0.816 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002235/0.5615, allocations: 232.2 kB / 0.8162 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5615, allocations: 0 / 0.8162 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007815/0.5623, allocations: 214.8 kB / 0.8164 GB, free: 14.54 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001484/0.5624, allocations: 112.5 kB / 0.8165 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.5634, allocations: 0.7507 MB / 0.8172 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5635, allocations: 0 / 0.8172 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004764/0.564, allocations: 337.8 kB / 0.8176 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.5652, allocations: 240.7 kB / 0.8178 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.5678, allocations: 1.698 MB / 0.8195 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.5681, allocations: 0.8322 MB / 0.8203 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004643/0.5686, allocations: 107.5 kB / 0.8204 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.5688, allocations: 41.47 kB / 0.8204 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of SimCode: time 3.4e-07/0.5688, allocations: 0 / 0.8204 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of Templates: time 0.01691/0.5857, allocations: 11.5 MB / 0.8316 GB, free: 6.254 MB / 0.5417 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe 2>&1)