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.001681/0.001681, allocations: 113.5 kB / 16.42 MB, free: 6.453 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.001952/0.001952, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.346/1.346, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.84/0.84, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.12 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1519, allocations: 82.04 MB / 0.6763 GB, free: 10.35 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.4101/0.562, allocations: 81.06 MB / 0.7554 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0286/0.5906, allocations: 21.14 MB / 0.7761 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003833/0.5945, allocations: 108.7 kB / 0.7762 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00543/0.5999, allocations: 1.974 MB / 0.7781 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007826/0.6078, allocations: 3.039 MB / 0.7811 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005879/0.6137, allocations: 2.509 MB / 0.7835 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.022/0.6357, allocations: 18.48 MB / 0.8016 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009309/0.645, allocations: 7.244 MB / 0.8087 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01211/0.6572, allocations: 5.981 MB / 0.8145 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009193/0.6664, allocations: 5.14 MB / 0.8195 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002464/0.6689, allocations: 0.5508 MB / 0.8201 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008019/0.6769, allocations: 1.979 MB / 0.822 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003275/0.6802, allocations: 1.774 MB / 0.8237 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.006703/0.6869, allocations: 3.489 MB / 0.8271 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01558/0.7025, allocations: 10.12 MB / 0.837 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.7026, allocations: 4 kB / 0.837 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7026, allocations: 0 / 0.837 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000266/0.7028, allocations: 0 / 0.837 GB, free: 5.852 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.01581/0.7187, allocations: 6.941 MB / 0.8438 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.7187, allocations: 8.031 kB / 0.8438 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005053/0.7238, allocations: 0.9537 MB / 0.8447 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01355/0.7373, allocations: 6.445 MB / 0.851 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/0.7377, allocations: 258.6 kB / 0.8513 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001462/0.7391, allocations: 340 kB / 0.8516 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01339/0.7525, allocations: 5.735 MB / 0.8572 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/0.7527, allocations: 7.938 kB / 0.8572 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001015/0.7537, allocations: 144 kB / 0.8573 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.7538, allocations: 114 kB / 0.8574 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01157/0.7654, allocations: 5.573 MB / 0.8629 GB, free: 11.11 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.03854/0.804, allocations: 24.13 MB / 0.8865 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005722/0.8098, allocations: 2.749 MB / 0.8891 GB, free: 15.45 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003245/0.813, allocations: 1.909 MB / 0.891 GB, free: 13.53 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01452/0.8276, allocations: 7.191 MB / 0.898 GB, free: 6.066 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003871/0.8315, allocations: 1.914 MB / 0.8999 GB, free: 4.141 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003784/0.8353, allocations: 0.7183 MB / 0.9006 GB, free: 3.441 MB / 0.67 GB Notification: Performance of pre-optimization done (n=154): time 9.639e-06/0.8354, allocations: 0 / 0.9006 GB, free: 3.441 MB / 0.67 GB Notification: Performance of matching and sorting (n=154): time 0.02732/0.8627, allocations: 8.023 MB / 0.9084 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.8628, allocations: 64.72 kB / 0.9085 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0105/0.8733, allocations: 5.623 MB / 0.914 GB, free: 5.676 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0006668/0.874, allocations: 73.64 kB / 0.9141 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.003169/0.8772, allocations: 2.615 MB / 0.9166 GB, free: 2.977 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.00113/0.8783, allocations: 0.5497 MB / 0.9171 GB, free: 2.434 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00228/0.8806, allocations: 0.7713 MB / 0.9179 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.28e-05/0.8807, allocations: 305.1 kB / 0.9182 GB, free: 1.352 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003575/0.8843, allocations: 1.9 MB / 0.92 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004885/0.8892, allocations: 3.163 MB / 0.9231 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008522/0.8978, allocations: 5.027 MB / 0.928 GB, free: 6.211 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.96e-05/0.8979, allocations: 8 kB / 0.928 GB, free: 6.203 MB / 0.7012 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01528/0.9131, allocations: 6.798 MB / 0.9347 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.342e-05/0.9132, allocations: 52.36 kB / 0.9347 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-05/0.9133, allocations: 40.88 kB / 0.9348 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08155/0.9949, allocations: 13.55 MB / 0.948 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003241/0.9981, allocations: 0.7137 MB / 0.9487 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/1.009, allocations: 5.471 MB / 0.954 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004592/1.013, allocations: 243.8 kB / 0.9543 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006429/1.014, allocations: 199.8 kB / 0.9545 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005936/1.02, allocations: 3.281 MB / 0.9577 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004311/1.024, allocations: 3.113 MB / 0.9607 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007378/1.032, allocations: 4.922 MB / 0.9655 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.864e-05/1.032, allocations: 8 kB / 0.9655 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01286/1.045, allocations: 6.514 MB / 0.9719 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.644e-05/1.045, allocations: 53.73 kB / 0.9719 GB, free: 8.102 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.816e-05/1.045, allocations: 32 kB / 0.972 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07953/1.124, allocations: 13.31 MB / 0.985 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003193/1.128, allocations: 0.6981 MB / 0.9856 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/1.142, allocations: 8.917 MB / 0.9944 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004886/1.147, allocations: 248.2 kB / 0.9946 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007075/1.147, allocations: 199.8 kB / 0.9948 GB, free: 448 kB / 0.7637 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.001043/1.148, allocations: 375.2 kB / 0.9951 GB, free: 64 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/1.15, allocations: 0.49 MB / 0.9956 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009342/1.159, allocations: 4.579 MB / 1 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01112/1.171, allocations: 5.661 MB / 1.006 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.171, allocations: 7.938 kB / 1.006 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002559/1.173, allocations: 0.9866 MB / 1.007 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001162/1.174, allocations: 35.98 kB / 1.007 GB, free: 4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003255/1.178, allocations: 147.9 kB / 1.007 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004341/1.178, allocations: 133.7 kB / 1.007 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01154/1.19, allocations: 4.786 MB / 1.012 GB, free: 14.94 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009834/1.199, allocations: 6.009 MB / 1.017 GB, free: 8.914 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00264/1.202, allocations: 1.862 MB / 1.019 GB, free: 7.047 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.006521/1.209, allocations: 3.848 MB / 1.023 GB, free: 3.23 MB / 0.795 GB Notification: Performance of Backend: time 4.21e-07/1.209, allocations: 0 / 1.023 GB, free: 3.23 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02117/1.23, allocations: 6.982 MB / 1.03 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of SimCode: time 0.02575/1.256, allocations: 12.54 MB / 1.042 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of Templates: time 0.4311/1.687, allocations: 126.4 MB / 1.166 GB, free: 223.3 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)