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.00129/0.00129, allocations: 107.7 kB / 16.37 MB, free: 6.477 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.001369/0.001369, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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 0.8237/0.8237, allocations: 143.1 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 71.88 kB / 0.5156 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3083, allocations: 82.03 MB / 0.5957 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4701/0.7784, allocations: 194.1 MB / 0.7852 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008719/0.7872, allocations: 6.952 MB / 0.792 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.7885, allocations: 48.36 kB / 0.792 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.7901, allocations: 0.6795 MB / 0.7927 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005218/0.7954, allocations: 2.337 MB / 0.795 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002958/0.7984, allocations: 1.43 MB / 0.7964 GB, free: 456 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003515/0.8019, allocations: 2.995 MB / 0.7993 GB, free: 440 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.8031, allocations: 0.8862 MB / 0.8002 GB, free: 332 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002285/0.8054, allocations: 1.139 MB / 0.8013 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.8064, allocations: 0.7989 MB / 0.8021 GB, free: 316 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.8066, allocations: 98.75 kB / 0.8022 GB, free: 316 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003443/0.81, allocations: 2.059 MB / 0.8042 GB, free: 296 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003492/0.8104, allocations: 368.5 kB / 0.8045 GB, free: 288 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006073/0.811, allocations: 0.5907 MB / 0.8051 GB, free: 136 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003719/0.8147, allocations: 2.5 MB / 0.8076 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.8148, allocations: 3.094 kB / 0.8076 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8148, allocations: 0 / 0.8076 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.8148, allocations: 0 / 0.8076 GB, free: 15.86 MB / 0.5919 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.003105/0.8179, allocations: 1.625 MB / 0.8091 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.8179, allocations: 10.47 kB / 0.8092 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002773/0.8207, allocations: 0.5437 MB / 0.8097 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002291/0.823, allocations: 1.045 MB / 0.8107 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/0.8231, allocations: 54.28 kB / 0.8108 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.8232, allocations: 66.41 kB / 0.8108 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/0.8254, allocations: 1.105 MB / 0.8119 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.8255, allocations: 0 / 0.8119 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.989e-05/0.8256, allocations: 29.66 kB / 0.8119 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.802e-05/0.8256, allocations: 31.95 kB / 0.812 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002625/0.8282, allocations: 1.164 MB / 0.8131 GB, free: 14.38 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.00524/0.8335, allocations: 3.161 MB / 0.8162 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.8351, allocations: 0.6944 MB / 0.8169 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007717/0.8359, allocations: 417.3 kB / 0.8173 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000885/0.8368, allocations: 1.026 MB / 0.8183 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009661/0.8378, allocations: 0.5192 MB / 0.8188 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.064e-06/0.8378, allocations: 0 / 0.8188 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.002809/0.8406, allocations: 1.215 MB / 0.82 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.206e-05/0.8407, allocations: 145.3 kB / 0.8201 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.8425, allocations: 1.181 MB / 0.8212 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-05/0.8426, allocations: 38.45 kB / 0.8213 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/0.843, allocations: 430.4 kB / 0.8217 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.8431, allocations: 192.5 kB / 0.8219 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/0.8434, allocations: 153.7 kB / 0.822 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.8435, allocations: 328.4 kB / 0.8223 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.8446, allocations: 441.2 kB / 0.8228 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.846, allocations: 0.5923 MB / 0.8233 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001905/0.8479, allocations: 0.9288 MB / 0.8242 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.8479, allocations: 2.812 kB / 0.8242 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002906/0.8508, allocations: 1.195 MB / 0.8254 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/0.8509, allocations: 43.81 kB / 0.8255 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.8509, allocations: 2.75 kB / 0.8255 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.8509, allocations: 10.66 kB / 0.8255 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008929/0.8518, allocations: 192.4 kB / 0.8256 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.8518, allocations: 9.281 kB / 0.8257 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.8533, allocations: 242.9 kB / 0.8259 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.464e-05/0.8534, allocations: 31.83 kB / 0.8259 GB, free: 7.719 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.0004853/0.8539, allocations: 344.8 kB / 0.8262 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.8541, allocations: 114.1 kB / 0.8264 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/0.8561, allocations: 0.9911 MB / 0.8273 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.8561, allocations: 6.031 kB / 0.8273 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.8561, allocations: 6.031 kB / 0.8273 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.8561, allocations: 3.984 kB / 0.8273 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00454/0.8607, allocations: 3.162 MB / 0.8304 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.8607, allocations: 7.969 kB / 0.8304 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005674/0.8613, allocations: 128.8 kB / 0.8306 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.8613, allocations: 7.812 kB / 0.8306 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.906e-05/0.8614, allocations: 27.12 kB / 0.8306 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27e-05/0.8614, allocations: 16.92 kB / 0.8306 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.8614, allocations: 15.14 kB / 0.8306 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.8635, allocations: 1.342 MB / 0.8319 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006261/0.8641, allocations: 325.4 kB / 0.8322 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.8643, allocations: 24.77 kB / 0.8323 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.8654, allocations: 103 kB / 0.8324 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.8655, allocations: 60.52 kB / 0.8324 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-05/0.8656, allocations: 47.81 kB / 0.8325 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0015/0.8671, allocations: 0.8437 MB / 0.8333 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8672, allocations: 0 / 0.8333 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001071/0.8682, allocations: 303.5 kB / 0.8336 GB, free: 2.746 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.0006654/0.8689, allocations: 351.4 kB / 0.8339 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002345/0.8713, allocations: 1.01 MB / 0.8349 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.8713, allocations: 7.984 kB / 0.8349 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009004/0.8722, allocations: 0.5107 MB / 0.8354 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/0.8747, allocations: 0.5534 MB / 0.8359 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/0.8781, allocations: 2.028 MB / 0.8379 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000621/0.8788, allocations: 1.069 MB / 0.839 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009468/0.8797, allocations: 271.5 kB / 0.8392 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.88, allocations: 79.42 kB / 0.8393 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of SimCode: time 6.12e-07/0.88, allocations: 0 / 0.8393 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of Templates: time 0.03467/0.9147, allocations: 22.16 MB / 0.861 GB, free: 7.332 MB / 0.6231 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)