Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.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.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001288/0.001288, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.28/1.28, allocations: 222.9 MB / 241.1 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.822/0.822, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 64.97 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1271, allocations: 82.03 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.3549/0.482, allocations: 81.06 MB / 0.7554 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02463/0.5067, allocations: 21.14 MB / 0.7761 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002989/0.5097, allocations: 108.3 kB / 0.7762 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004746/0.5145, allocations: 1.984 MB / 0.7781 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006698/0.5212, allocations: 3.045 MB / 0.7811 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005183/0.5264, allocations: 2.493 MB / 0.7835 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01649/0.5429, allocations: 18.47 MB / 0.8016 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006535/0.5494, allocations: 7.244 MB / 0.8086 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01006/0.5595, allocations: 5.961 MB / 0.8145 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007688/0.5672, allocations: 5.132 MB / 0.8195 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001186/0.5684, allocations: 0.5508 MB / 0.82 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005018/0.5734, allocations: 1.986 MB / 0.822 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001619/0.575, allocations: 1.77 MB / 0.8237 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003902/0.5789, allocations: 3.492 MB / 0.8271 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.5892, allocations: 10.15 MB / 0.837 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5892, allocations: 4 kB / 0.837 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5892, allocations: 0 / 0.837 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.38e-05/0.5893, allocations: 0 / 0.837 GB, free: 5.863 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 838 * Number of variables: 838 Notification: Performance of Generate backend data structure: time 0.01069/0.6, allocations: 7.137 MB / 0.844 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.6001, allocations: 8.031 kB / 0.844 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003756/0.6038, allocations: 0.9924 MB / 0.845 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/0.614, allocations: 6.492 MB / 0.8513 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.6142, allocations: 258.6 kB / 0.8515 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005528/0.6147, allocations: 354.9 kB / 0.8519 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008338/0.6231, allocations: 5.731 MB / 0.8575 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-05/0.6232, allocations: 11.88 kB / 0.8575 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003844/0.6236, allocations: 144 kB / 0.8576 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.733e-05/0.6237, allocations: 122 kB / 0.8577 GB, free: 448 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008821/0.6325, allocations: 5.569 MB / 0.8632 GB, free: 10.85 MB / 0.6387 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.03117/0.6637, allocations: 24.16 MB / 0.8868 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004547/0.6682, allocations: 2.749 MB / 0.8895 GB, free: 15.14 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002743/0.671, allocations: 1.909 MB / 0.8913 GB, free: 13.22 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0109/0.6819, allocations: 7.197 MB / 0.8984 GB, free: 5.75 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003037/0.685, allocations: 1.918 MB / 0.9002 GB, free: 3.82 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002891/0.6879, allocations: 0.7187 MB / 0.9009 GB, free: 3.121 MB / 0.67 GB Notification: Performance of pre-optimization done (n=154): time 6.262e-06/0.6879, allocations: 0 / 0.9009 GB, free: 3.121 MB / 0.67 GB Notification: Performance of matching and sorting (n=154): time 0.02305/0.711, allocations: 8.06 MB / 0.9088 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.711, allocations: 68.72 kB / 0.9089 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008597/0.7196, allocations: 5.631 MB / 0.9144 GB, free: 5.309 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003005/0.7199, allocations: 65.7 kB / 0.9144 GB, free: 5.238 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002456/0.7224, allocations: 2.656 MB / 0.917 GB, free: 2.582 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006534/0.7231, allocations: 0.575 MB / 0.9176 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/0.7242, allocations: 0.7679 MB / 0.9183 GB, free: 1.238 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.7243, allocations: 313 kB / 0.9186 GB, free: 0.9297 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002968/0.7273, allocations: 1.9 MB / 0.9205 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003859/0.7312, allocations: 3.163 MB / 0.9236 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006901/0.7381, allocations: 5.02 MB / 0.9285 GB, free: 5.797 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.101e-05/0.7381, allocations: 11.98 kB / 0.9285 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01199/0.7501, allocations: 6.827 MB / 0.9352 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.902e-05/0.7502, allocations: 49.69 kB / 0.9352 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.355e-05/0.7502, allocations: 36.91 kB / 0.9352 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07672/0.827, allocations: 13.55 MB / 0.9485 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003052/0.83, allocations: 0.7059 MB / 0.9492 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009465/0.8395, allocations: 5.472 MB / 0.9545 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004343/0.8439, allocations: 243.8 kB / 0.9547 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005215/0.8444, allocations: 203.8 kB / 0.9549 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005523/0.85, allocations: 3.277 MB / 0.9581 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003904/0.8539, allocations: 3.105 MB / 0.9612 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006678/0.8606, allocations: 4.929 MB / 0.966 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-05/0.8606, allocations: 8 kB / 0.966 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01133/0.8719, allocations: 6.538 MB / 0.9724 GB, free: 7.703 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.025e-05/0.872, allocations: 60.47 kB / 0.9724 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.945e-05/0.8721, allocations: 32 kB / 0.9725 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07826/0.9503, allocations: 13.3 MB / 0.9855 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003589/0.9539, allocations: 0.6981 MB / 0.9861 GB, free: 9.641 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/0.9672, allocations: 8.911 MB / 0.9948 GB, free: 432 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004444/0.9716, allocations: 248.3 kB / 0.9951 GB, free: 180 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005401/0.9722, allocations: 199.9 kB / 0.9953 GB, free: 15.98 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (317): * Single equations (assignments): 311 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(11,15), (10,11), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0009395/0.9731, allocations: 384.7 kB / 0.9956 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001463/0.9746, allocations: 0.5162 MB / 0.9961 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008861/0.9835, allocations: 4.598 MB / 1.001 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01081/0.9943, allocations: 5.649 MB / 1.006 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.9943, allocations: 11.94 kB / 1.006 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002376/0.9967, allocations: 1.013 MB / 1.007 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001091/0.9978, allocations: 32 kB / 1.007 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003022/1.001, allocations: 151.7 kB / 1.007 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000397/1.001, allocations: 133.8 kB / 1.007 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01098/1.012, allocations: 4.793 MB / 1.012 GB, free: 14.41 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009732/1.022, allocations: 6.028 MB / 1.018 GB, free: 8.375 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00262/1.025, allocations: 1.866 MB / 1.02 GB, free: 6.504 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.006338/1.031, allocations: 3.848 MB / 1.024 GB, free: 2.688 MB / 0.795 GB Notification: Performance of Backend: time 5.41e-07/1.031, allocations: 0 / 1.024 GB, free: 2.688 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01928/1.05, allocations: 6.992 MB / 1.03 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of SimCode: time 0.02377/1.074, allocations: 12.71 MB / 1.043 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of Templates: time 0.4171/1.491, allocations: 126.4 MB / 1.166 GB, free: 218.6 MB / 0.8262 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)