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.001124/0.001124, allocations: 105.1 kB / 16.35 MB, free: 5.824 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.001194/0.001194, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.542/1.542, allocations: 222.9 MB / 241 MB, free: 15.16 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.8978/0.8978, allocations: 143.1 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001477, allocations: 59.91 kB / 0.5156 GB, free: 14.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3515, allocations: 82.04 MB / 0.5957 GB, free: 16.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5116/0.8632, allocations: 194.1 MB / 0.7852 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009305/0.8725, allocations: 6.963 MB / 0.792 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.8741, allocations: 43.22 kB / 0.792 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.8757, allocations: 0.683 MB / 0.7927 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005144/0.8809, allocations: 2.338 MB / 0.795 GB, free: 500 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.8839, allocations: 1.428 MB / 0.7964 GB, free: 456 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003406/0.8873, allocations: 3.003 MB / 0.7993 GB, free: 428 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.8884, allocations: 0.8812 MB / 0.8002 GB, free: 324 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.8907, allocations: 1.144 MB / 0.8013 GB, free: 308 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/0.8919, allocations: 0.7921 MB / 0.8021 GB, free: 304 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002237/0.8922, allocations: 101.1 kB / 0.8022 GB, free: 304 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003813/0.896, allocations: 2.054 MB / 0.8042 GB, free: 284 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004019/0.8964, allocations: 372.2 kB / 0.8045 GB, free: 280 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007013/0.8971, allocations: 0.5887 MB / 0.8051 GB, free: 128 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003735/0.9008, allocations: 2.495 MB / 0.8075 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.9009, allocations: 3.938 kB / 0.8075 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9009, allocations: 0 / 0.8075 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.913e-05/0.9009, allocations: 0 / 0.8075 GB, free: 15.85 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.003398/0.9043, allocations: 1.637 MB / 0.8091 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.9044, allocations: 10.16 kB / 0.8092 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002861/0.9072, allocations: 0.534 MB / 0.8097 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/0.9098, allocations: 1.042 MB / 0.8107 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-05/0.9099, allocations: 58 kB / 0.8107 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.91, allocations: 66.12 kB / 0.8108 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/0.9123, allocations: 1.101 MB / 0.8119 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.9124, allocations: 0 / 0.8119 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.459e-05/0.9125, allocations: 36.84 kB / 0.8119 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.882e-05/0.9125, allocations: 32.98 kB / 0.812 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002777/0.9153, allocations: 1.161 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.005712/0.921, allocations: 3.162 MB / 0.8162 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.9226, allocations: 0.6916 MB / 0.8168 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007844/0.9234, allocations: 424.7 kB / 0.8173 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009308/0.9243, allocations: 1.022 MB / 0.8183 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009895/0.9253, allocations: 0.5131 MB / 0.8188 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.364e-06/0.9253, allocations: 0 / 0.8188 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.002822/0.9282, allocations: 1.221 MB / 0.8199 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.9283, allocations: 145.6 kB / 0.8201 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/0.93, allocations: 1.183 MB / 0.8212 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.965e-05/0.9301, allocations: 38.61 kB / 0.8213 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003444/0.9305, allocations: 437.9 kB / 0.8217 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.9307, allocations: 187.5 kB / 0.8219 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003404/0.931, allocations: 150.5 kB / 0.822 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.9311, allocations: 322.8 kB / 0.8223 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.9323, allocations: 443.1 kB / 0.8227 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.9336, allocations: 0.5941 MB / 0.8233 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/0.9354, allocations: 0.9359 MB / 0.8242 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.9355, allocations: 0 / 0.8242 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002838/0.9383, allocations: 1.193 MB / 0.8254 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.382e-05/0.9384, allocations: 40.45 kB / 0.8254 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.9384, allocations: 6.688 kB / 0.8254 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.9384, allocations: 4.438 kB / 0.8255 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008904/0.9393, allocations: 188.7 kB / 0.8256 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.9393, allocations: 15.52 kB / 0.8256 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.9407, allocations: 238.7 kB / 0.8259 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.618e-05/0.9408, allocations: 36.25 kB / 0.8259 GB, free: 7.711 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.0005775/0.9414, allocations: 339.4 kB / 0.8262 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.9416, allocations: 120.3 kB / 0.8263 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.9436, allocations: 0.9926 MB / 0.8273 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.9436, allocations: 10.83 kB / 0.8273 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.9437, allocations: 6.781 kB / 0.8273 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.9437, allocations: 0.5156 kB / 0.8273 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004876/0.9486, allocations: 3.159 MB / 0.8304 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.9486, allocations: 7.281 kB / 0.8304 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005727/0.9492, allocations: 124.4 kB / 0.8305 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/0.9492, allocations: 13.98 kB / 0.8306 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.718e-05/0.9492, allocations: 24.23 kB / 0.8306 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.106e-05/0.9493, allocations: 16.42 kB / 0.8306 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/0.9493, allocations: 14.94 kB / 0.8306 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.9514, allocations: 1.336 MB / 0.8319 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005582/0.952, allocations: 331.5 kB / 0.8322 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.9521, allocations: 16.56 kB / 0.8322 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.9533, allocations: 104 kB / 0.8323 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.9534, allocations: 63.42 kB / 0.8324 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.468e-05/0.9535, allocations: 42 kB / 0.8324 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001567/0.9551, allocations: 0.8532 MB / 0.8333 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.843e-06/0.9551, allocations: 0 / 0.8333 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001252/0.9564, allocations: 308.6 kB / 0.8336 GB, free: 2.742 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.0007859/0.9571, allocations: 354.7 kB / 0.8339 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002334/0.9595, allocations: 1.009 MB / 0.8349 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.9595, allocations: 4.125 kB / 0.8349 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009307/0.9604, allocations: 0.5099 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.002624/0.9631, allocations: 0.5451 MB / 0.8359 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.9666, allocations: 2.031 MB / 0.8379 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007832/0.9674, allocations: 1.065 MB / 0.839 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00103/0.9684, allocations: 285.2 kB / 0.8392 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.9687, allocations: 83.41 kB / 0.8393 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of SimCode: time 1.031e-06/0.9687, allocations: 0 / 0.8393 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of Templates: time 0.03433/1.003, allocations: 22.16 MB / 0.8609 GB, free: 7.336 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 cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)