Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009344/0.0009344, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007826/0.007826, allocations: 168.7 kB / 16.26 MB, free: 6.652 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.45/1.45, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.02/1.02, allocations: 143.2 MB / 434.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003068, allocations: 12.28 kB / 0.5164 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1655, allocations: 83.41 MB / 0.5978 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5019/0.6675, allocations: 189.2 MB / 0.7826 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.6789, allocations: 6.93 MB / 0.7893 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/0.6807, allocations: 39.69 kB / 0.7894 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002075/0.6828, allocations: 0.5593 MB / 0.7899 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006899/0.6897, allocations: 2.183 MB / 0.792 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003582/0.6933, allocations: 1.296 MB / 0.7933 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005626/0.6989, allocations: 3.736 MB / 0.797 GB, free: 196 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/0.701, allocations: 0.773 MB / 0.7977 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003022/0.704, allocations: 0.953 MB / 0.7986 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/0.7064, allocations: 0.8006 MB / 0.7994 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002163/0.7066, allocations: 40 kB / 0.7995 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00538/0.712, allocations: 2.221 MB / 0.8016 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005345/0.7126, allocations: 310.9 kB / 0.8019 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.7136, allocations: 0.5456 MB / 0.8025 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004923/0.7186, allocations: 2.477 MB / 0.8049 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.7186, allocations: 0 / 0.8049 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7186, allocations: 4 kB / 0.8049 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.472e-05/0.7186, allocations: 0 / 0.8049 GB, free: 8.043 MB / 0.6231 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.003534/0.7222, allocations: 1.39 MB / 0.8062 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.7222, allocations: 8.031 kB / 0.8063 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003139/0.7254, allocations: 0.6074 MB / 0.8068 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002404/0.7278, allocations: 0.9869 MB / 0.8078 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001279/0.7291, allocations: 317 kB / 0.8081 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.7293, allocations: 68 kB / 0.8082 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002669/0.732, allocations: 1.152 MB / 0.8093 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.7321, allocations: 7.875 kB / 0.8093 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.592e-05/0.7322, allocations: 28 kB / 0.8093 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.546e-05/0.7322, allocations: 37.3 kB / 0.8094 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003399/0.7356, allocations: 1.246 MB / 0.8106 GB, free: 2.074 MB / 0.6231 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.006905/0.7425, allocations: 3.254 MB / 0.8138 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.7443, allocations: 0.7036 MB / 0.8145 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009338/0.7453, allocations: 439.3 kB / 0.8149 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/0.7464, allocations: 1.025 MB / 0.8159 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001157/0.7476, allocations: 0.5221 MB / 0.8164 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=57): time 4.178e-06/0.7476, allocations: 0 / 0.8164 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57): time 0.003477/0.7511, allocations: 1.241 MB / 0.8176 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.7513, allocations: 148.8 kB / 0.8177 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002977/0.7542, allocations: 1.219 MB / 0.8189 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001712/0.7544, allocations: 33.7 kB / 0.819 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004877/0.7549, allocations: 445.4 kB / 0.8194 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002848/0.7552, allocations: 189.3 kB / 0.8196 GB, free: 8.477 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.7554, allocations: 57.69 kB / 0.8196 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.7556, allocations: 326 kB / 0.8199 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/0.7571, allocations: 488.9 kB / 0.8204 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/0.7587, allocations: 0.6328 MB / 0.821 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002318/0.7611, allocations: 0.9887 MB / 0.822 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.7611, allocations: 0 / 0.822 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003753/0.7649, allocations: 1.291 MB / 0.8232 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.94e-05/0.765, allocations: 38.94 kB / 0.8233 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.765, allocations: 4 kB / 0.8233 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.765, allocations: 4.281 kB / 0.8233 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.7661, allocations: 215.7 kB / 0.8235 GB, free: 4.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/0.7661, allocations: 7.938 kB / 0.8235 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.7679, allocations: 315.8 kB / 0.8238 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.7681, allocations: 35.97 kB / 0.8238 GB, free: 3.973 MB / 0.6387 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.0005965/0.7687, allocations: 329.2 kB / 0.8242 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/0.769, allocations: 114.6 kB / 0.8243 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/0.7712, allocations: 1.006 MB / 0.8252 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.7713, allocations: 7.984 kB / 0.8253 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/0.7713, allocations: 3.938 kB / 0.8253 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.7713, allocations: 4 kB / 0.8253 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005288/0.7766, allocations: 3.181 MB / 0.8284 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/0.7766, allocations: 8.531 kB / 0.8284 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006151/0.7773, allocations: 123.8 kB / 0.8285 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.545e-05/0.7773, allocations: 15.94 kB / 0.8285 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.854e-05/0.7774, allocations: 23.98 kB / 0.8285 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.72e-05/0.7774, allocations: 15.94 kB / 0.8285 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/0.7774, allocations: 19.92 kB / 0.8286 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/0.78, allocations: 1.355 MB / 0.8299 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006955/0.7807, allocations: 331.4 kB / 0.8302 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/0.7809, allocations: 24 kB / 0.8302 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.7822, allocations: 127.9 kB / 0.8303 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.7824, allocations: 55.77 kB / 0.8304 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.72e-05/0.7825, allocations: 47.91 kB / 0.8304 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002014/0.7845, allocations: 0.8911 MB / 0.8313 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7845, allocations: 0 / 0.8313 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001358/0.7859, allocations: 299.8 kB / 0.8316 GB, free: 11.7 MB / 0.6544 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.0009512/0.7868, allocations: 350.7 kB / 0.8319 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002627/0.7895, allocations: 1.049 MB / 0.833 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.7895, allocations: 4 kB / 0.833 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.7906, allocations: 0.5181 MB / 0.8335 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004142/0.7947, allocations: 0.5397 MB / 0.834 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/0.7993, allocations: 2.371 MB / 0.8363 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008017/0.8001, allocations: 1.073 MB / 0.8374 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001385/0.8015, allocations: 279.4 kB / 0.8376 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/0.8019, allocations: 75.42 kB / 0.8377 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of SimCode: time 6.41e-07/0.8019, allocations: 0 / 0.8377 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of Templates: time 0.03833/0.8402, allocations: 21.29 MB / 0.8585 GB, free: 292 kB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)