Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.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.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008832/0.0008832, allocations: 92 kB / 16.02 MB, free: 80 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.001108/0.001108, allocations: 184.9 kB / 16.92 MB, free: 6.926 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.353/1.353, allocations: 223.3 MB / 241 MB, free: 5.242 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.9779/0.9779, allocations: 143.2 MB / 435.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003679, allocations: 8 kB / 0.517 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1704, allocations: 83.41 MB / 0.5985 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3): time 0.3212/0.4917, allocations: 32.25 MB / 0.63 GB, free: 25.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01494/0.5067, allocations: 12.35 MB / 0.6421 GB, free: 16.61 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.5087, allocations: 48.34 kB / 0.6421 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.007087/0.5158, allocations: 3.826 MB / 0.6458 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004835/0.5207, allocations: 1.533 MB / 0.6473 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003713/0.5244, allocations: 1.291 MB / 0.6486 GB, free: 13.88 MB / 0.4981 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.002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01162/0.536, allocations: 9.469 MB / 0.6578 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003282/0.5394, allocations: 1.764 MB / 0.6596 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00447/0.5439, allocations: 1.6 MB / 0.6611 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00322/0.5472, allocations: 1.401 MB / 0.6625 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005687/0.5478, allocations: 69.53 kB / 0.6626 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004051/0.5518, allocations: 1.298 MB / 0.6638 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.553, allocations: 0.5192 MB / 0.6643 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002756/0.5557, allocations: 1.115 MB / 0.6654 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005253/0.561, allocations: 2.766 MB / 0.6681 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5611, allocations: 0.9688 kB / 0.6681 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.355e-06/0.5611, allocations: 0 / 0.6681 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001279/0.5612, allocations: 0 / 0.6681 GB, free: 6.906 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.006297/0.5675, allocations: 2.416 MB / 0.6705 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.5676, allocations: 9 kB / 0.6705 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002527/0.5701, allocations: 443.9 kB / 0.6709 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005409/0.5756, allocations: 2.64 MB / 0.6735 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.5757, allocations: 82.64 kB / 0.6736 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003124/0.5761, allocations: 111.9 kB / 0.6737 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002832/0.5789, allocations: 1.353 MB / 0.675 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.579, allocations: 5.344 kB / 0.675 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.5791, allocations: 43.05 kB / 0.675 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/0.5791, allocations: 25.06 kB / 0.6751 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00263/0.5818, allocations: 1.101 MB / 0.6761 GB, free: 2.727 MB / 0.4981 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.01028/0.5921, allocations: 7.276 MB / 0.6833 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/0.594, allocations: 0.6687 MB / 0.6839 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009823/0.595, allocations: 436.3 kB / 0.6843 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004174/0.5992, allocations: 1.81 MB / 0.6861 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.6003, allocations: 397.4 kB / 0.6865 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001317/0.6016, allocations: 115.4 kB / 0.6866 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 4.859e-06/0.6017, allocations: 4 kB / 0.6866 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.004902/0.6066, allocations: 1.487 MB / 0.688 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.6067, allocations: 57.34 kB / 0.6881 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004544/0.6112, allocations: 2.389 MB / 0.6904 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002345/0.6115, allocations: 44.86 kB / 0.6905 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.6126, allocations: 0.9982 MB / 0.6914 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.6129, allocations: 161.7 kB / 0.6916 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.6131, allocations: 135 kB / 0.6917 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.6132, allocations: 360.1 kB / 0.6921 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.6145, allocations: 0.521 MB / 0.6926 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.616, allocations: 1.027 MB / 0.6936 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002439/0.6185, allocations: 1.394 MB / 0.6949 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.6185, allocations: 2.906 kB / 0.6949 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.0044/0.6229, allocations: 1.868 MB / 0.6968 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003492/0.6233, allocations: 460.8 kB / 0.6972 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.6233, allocations: 12.5 kB / 0.6972 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006627/0.624, allocations: 196.2 kB / 0.6974 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000956/0.6249, allocations: 241.8 kB / 0.6976 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006883/0.6256, allocations: 0.7695 MB / 0.6984 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/0.6279, allocations: 129.8 kB / 0.6985 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.6281, allocations: 58.23 kB / 0.6986 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.6281, allocations: 5.969 kB / 0.6986 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003061/0.6312, allocations: 1.598 MB / 0.7001 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.6312, allocations: 15.12 kB / 0.7001 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002554/0.6315, allocations: 124.4 kB / 0.7003 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008447/0.6323, allocations: 233.4 kB / 0.7005 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.6345, allocations: 2.121 MB / 0.7026 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/0.6365, allocations: 118.3 kB / 0.7027 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.6367, allocations: 51.98 kB / 0.7027 GB, free: 15.78 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 115 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001611/0.6383, allocations: 0.7081 MB / 0.7034 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006074/0.6389, allocations: 213.2 kB / 0.7036 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002756/0.6417, allocations: 1.089 MB / 0.7047 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.6417, allocations: 8 kB / 0.7047 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.6417, allocations: 0 / 0.7047 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001933/0.6437, allocations: 1.029 MB / 0.7057 GB, free: 12.65 MB / 0.5294 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.006019/0.6497, allocations: 2.475 MB / 0.7081 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.6498, allocations: 0 / 0.7081 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005724/0.6504, allocations: 111.8 kB / 0.7082 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003121/0.6507, allocations: 128.6 kB / 0.7083 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.617e-05/0.6507, allocations: 12 kB / 0.7083 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005985/0.6513, allocations: 0.7443 MB / 0.7091 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6514, allocations: 4.062 kB / 0.7091 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003571/0.6549, allocations: 1.511 MB / 0.7106 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/0.6563, allocations: 382.2 kB / 0.7109 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007661/0.6571, allocations: 12 kB / 0.7109 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/0.6587, allocations: 101.2 kB / 0.711 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.6588, allocations: 48.25 kB / 0.7111 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.989e-05/0.659, allocations: 21.11 kB / 0.7111 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003594/0.6626, allocations: 1.639 MB / 0.7127 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.51e-07/0.6626, allocations: 0 / 0.7127 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004925/0.6675, allocations: 0.9556 MB / 0.7136 GB, free: 4.363 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001953/0.6695, allocations: 0.5153 MB / 0.7141 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004889/0.6744, allocations: 2.095 MB / 0.7162 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.6745, allocations: 1.438 kB / 0.7162 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.6756, allocations: 378.4 kB / 0.7165 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006249/0.6819, allocations: 0.9182 MB / 0.7174 GB, free: 460 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.6927, allocations: 4.575 MB / 0.7219 GB, free: 11.83 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001765/0.6945, allocations: 1.662 MB / 0.7235 GB, free: 10.13 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007308/0.6952, allocations: 171.3 kB / 0.7237 GB, free: 9.965 MB / 0.545 GB Notification: Performance of SimCode: time 1.182e-06/0.6952, allocations: 0 / 0.7237 GB, free: 9.965 MB / 0.545 GB Notification: Performance of Templates: time 0.06769/0.7629, allocations: 45.28 MB / 0.7679 GB, free: 12.93 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe 2>&1)