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.001171/0.001171, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 181.2 kB / 16.92 MB, free: 6.918 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.442/1.442, allocations: 223.3 MB / 241 MB, free: 5.332 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 0.9998/0.9998, allocations: 143.2 MB / 435.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003559, allocations: 12 kB / 0.517 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1594, allocations: 83.4 MB / 0.5985 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.3339/0.4933, allocations: 79.03 MB / 0.6757 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0332/0.5265, allocations: 21.02 MB / 0.6962 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004076/0.5306, allocations: 95.25 kB / 0.6963 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01011/0.5408, allocations: 4.161 MB / 0.7003 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.009134/0.55, allocations: 2.673 MB / 0.7029 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00718/0.5572, allocations: 2.213 MB / 0.7051 GB, free: 4.422 MB / 0.5294 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.0002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.03198/0.5892, allocations: 23.79 MB / 0.7283 GB, free: 7.195 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009967/0.5992, allocations: 6.029 MB / 0.7342 GB, free: 1.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01058/0.6098, allocations: 4.645 MB / 0.7388 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009374/0.6192, allocations: 4.901 MB / 0.7436 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001858/0.6211, allocations: 264 kB / 0.7438 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007012/0.6281, allocations: 1.708 MB / 0.7455 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003123/0.6313, allocations: 1.405 MB / 0.7468 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.007415/0.6387, allocations: 3.083 MB / 0.7499 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.65, allocations: 7.727 MB / 0.7574 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6501, allocations: 0 / 0.7574 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.445e-06/0.6501, allocations: 0 / 0.7574 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003415/0.6504, allocations: 0 / 0.7574 GB, free: 9.273 MB / 0.5762 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.01416/0.6646, allocations: 5.724 MB / 0.763 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.6647, allocations: 12.03 kB / 0.763 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005578/0.6703, allocations: 0.9732 MB / 0.764 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01362/0.6839, allocations: 6.289 MB / 0.7701 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003471/0.6843, allocations: 259.1 kB / 0.7703 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001244/0.6856, allocations: 344 kB / 0.7707 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/0.6988, allocations: 5.779 MB / 0.7763 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001251/0.6989, allocations: 7.938 kB / 0.7763 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009282/0.6999, allocations: 140 kB / 0.7765 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/0.7, allocations: 118 kB / 0.7766 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/0.712, allocations: 5.667 MB / 0.7821 GB, free: 15.55 MB / 0.6075 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.04214/0.7542, allocations: 24.44 MB / 0.806 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005885/0.7601, allocations: 2.85 MB / 0.8088 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003463/0.7636, allocations: 1.948 MB / 0.8107 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01455/0.7782, allocations: 7.226 MB / 0.8177 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00391/0.7822, allocations: 1.961 MB / 0.8196 GB, free: 7.672 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00477/0.787, allocations: 1.258 MB / 0.8209 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=155): time 9.878e-06/0.787, allocations: 0 / 0.8209 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=155): time 0.02419/0.8112, allocations: 7.774 MB / 0.8284 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.8113, allocations: 68.72 kB / 0.8285 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/0.8214, allocations: 5.509 MB / 0.8339 GB, free: 9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0005823/0.822, allocations: 69.69 kB / 0.834 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002795/0.8248, allocations: 2.597 MB / 0.8365 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009656/0.8258, allocations: 0.5625 MB / 0.837 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000666/0.8265, allocations: 284.2 kB / 0.8373 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.8266, allocations: 309.1 kB / 0.8376 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003641/0.8302, allocations: 1.891 MB / 0.8395 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00447/0.8347, allocations: 3.151 MB / 0.8425 GB, free: 15.54 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007853/0.8426, allocations: 4.992 MB / 0.8474 GB, free: 10.08 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.282e-05/0.8427, allocations: 8 kB / 0.8474 GB, free: 10.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.0137/0.8564, allocations: 6.644 MB / 0.8539 GB, free: 3.395 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009078/0.8573, allocations: 1.131 MB / 0.855 GB, free: 1.785 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.868e-05/0.8574, allocations: 36 kB / 0.855 GB, free: 1.75 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.372/1.229, allocations: 11.91 MB / 0.8667 GB, free: 193.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003314/1.233, allocations: 0.7286 MB / 0.8674 GB, free: 193.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007867/1.241, allocations: 5.036 MB / 0.8723 GB, free: 192.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005717/1.246, allocations: 371.6 kB / 0.8727 GB, free: 192.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007516/1.247, allocations: 170 kB / 0.8728 GB, free: 192.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/1.247, allocations: 3.438 kB / 0.8728 GB, free: 192.3 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01098/1.258, allocations: 5.855 MB / 0.8785 GB, free: 191.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001102/1.258, allocations: 32.62 kB / 0.8786 GB, free: 191.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07244/1.331, allocations: 11.66 MB / 0.89 GB, free: 191.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00343/1.334, allocations: 0.7263 MB / 0.8907 GB, free: 191.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01244/1.347, allocations: 8.043 MB / 0.8985 GB, free: 186.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005408/1.352, allocations: 354.6 kB / 0.8989 GB, free: 186.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008171/1.353, allocations: 166.1 kB / 0.899 GB, free: 186.5 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 153 * 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 (319): * Single equations (assignments): 313 * 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,13), (10,11), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.004382/1.358, allocations: 1.667 MB / 0.9006 GB, free: 185.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001677/1.359, allocations: 0.4939 MB / 0.9011 GB, free: 185.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/1.37, allocations: 4.951 MB / 0.906 GB, free: 184 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.13e-05/1.371, allocations: 20.45 kB / 0.906 GB, free: 184 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/1.371, allocations: 0 / 0.906 GB, free: 184 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01424/1.385, allocations: 6.485 MB / 0.9123 GB, free: 180.9 MB / 0.67 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 postOpt removeSimpleEquations (simulation): time 0.03141/1.416, allocations: 13.34 MB / 0.9253 GB, free: 174.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.959e-05/1.416, allocations: 0 / 0.9253 GB, free: 174.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002427/1.419, allocations: 387 kB / 0.9257 GB, free: 174.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06826/1.487, allocations: 11.91 MB / 0.9373 GB, free: 164.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005485/1.488, allocations: 39.97 kB / 0.9374 GB, free: 164.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006116/1.494, allocations: 4.364 MB / 0.9416 GB, free: 159.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.494, allocations: 4 kB / 0.9416 GB, free: 159.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02509/1.519, allocations: 9.865 MB / 0.9513 GB, free: 150.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003344/1.522, allocations: 1.149 MB / 0.9524 GB, free: 149 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001634/1.524, allocations: 33.8 kB / 0.9524 GB, free: 148.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004696/1.529, allocations: 288.4 kB / 0.9527 GB, free: 148.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005423/1.529, allocations: 105.2 kB / 0.9528 GB, free: 148.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004294/1.53, allocations: 75.94 kB / 0.9529 GB, free: 148.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.006578/1.536, allocations: 3.758 MB / 0.9565 GB, free: 144.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.71e-07/1.536, allocations: 0.9844 kB / 0.9565 GB, free: 144.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01043/1.547, allocations: 2.83 MB / 0.9593 GB, free: 142.1 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,val.filter.s[1],val.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (127): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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 {(10,3), (2,5), (10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0019/1.549, allocations: 0.6668 MB / 0.96 GB, free: 141.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01792/1.567, allocations: 8.111 MB / 0.9679 GB, free: 133.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.567, allocations: 384 / 0.9679 GB, free: 133.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006173/1.573, allocations: 2.555 MB / 0.9704 GB, free: 130.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01744/1.59, allocations: 2.916 MB / 0.9732 GB, free: 128 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02331/1.614, allocations: 12.99 MB / 0.9859 GB, free: 115 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003865/1.618, allocations: 3.397 MB / 0.9892 GB, free: 111.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002008/1.62, allocations: 403.2 kB / 0.9896 GB, free: 111.2 MB / 0.67 GB Notification: Performance of SimCode: time 1.142e-06/1.62, allocations: 0 / 0.9896 GB, free: 111.2 MB / 0.67 GB Notification: Performance of Templates: time 0.5188/2.138, allocations: 174.3 MB / 1.16 GB, free: 187.7 MB / 0.6856 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)