Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6931/0.6931, allocations: 127.4 MB / 134.6 MB, free: 4.09 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001522/0.001522, allocations: 173.3 kB / 164.4 MB, free: 6.91 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.1 MB / 399.1 MB, free: 6.152 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009906/0.0009904, allocations: 89.86 kB / 476.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.155e-05/1.16e-05, allocations: 0 / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1853, allocations: 76.75 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.2/5.386, allocations: 2.19 GB / 2.811 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/5.386, allocations: 93.17 kB / 2.811 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of FrontEnd: time 6.335/11.72, allocations: 1.52 GB / 4.331 GB, free: 73.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003295/11.72, allocations: 59.91 kB / 4.331 GB, free: 73.45 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.00794/11.73, allocations: 2.577 MB / 4.334 GB, free: 72.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/11.73, allocations: 7.625 kB / 4.334 GB, free: 72.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007123/11.74, allocations: 0.979 MB / 4.335 GB, free: 72.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008631/11.75, allocations: 3.155 MB / 4.338 GB, free: 72.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.461e-05/11.75, allocations: 46.72 kB / 4.338 GB, free: 72.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003268/11.75, allocations: 94.94 kB / 4.338 GB, free: 72.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002572/11.75, allocations: 1.344 MB / 4.339 GB, free: 72.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/11.75, allocations: 1.499 MB / 4.341 GB, free: 71.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.347e-05/11.75, allocations: 1.688 kB / 4.341 GB, free: 71.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/11.75, allocations: 2.531 kB / 4.341 GB, free: 71.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.855e-05/11.75, allocations: 47.5 kB / 4.341 GB, free: 71.95 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01174/11.76, allocations: 7.819 MB / 4.349 GB, free: 68.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/11.76, allocations: 1.006 MB / 4.35 GB, free: 68.14 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008215/11.77, allocations: 0.5981 MB / 4.35 GB, free: 68.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003165/11.77, allocations: 284.9 kB / 4.35 GB, free: 67.85 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/11.77, allocations: 38.97 kB / 4.351 GB, free: 67.81 MB / 0.698 GB Notification: Performance of pre-optimization done (n=84): time 2.966e-06/11.77, allocations: 0 / 4.351 GB, free: 67.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=84): time 0.005006/11.77, allocations: 1.479 MB / 4.352 GB, free: 67.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/11.77, allocations: 59.53 kB / 4.352 GB, free: 67.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/11.77, allocations: 1.365 MB / 4.353 GB, free: 67.37 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001591/11.77, allocations: 28.33 kB / 4.353 GB, free: 67.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004738/11.77, allocations: 0.6311 MB / 4.354 GB, free: 67.08 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/11.77, allocations: 283.9 kB / 4.354 GB, free: 66.94 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.918e-05/11.77, allocations: 2.781 kB / 4.354 GB, free: 66.94 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.589e-05/11.77, allocations: 350.4 kB / 4.355 GB, free: 66.63 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006391/11.78, allocations: 431.4 kB / 4.355 GB, free: 66.63 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008363/11.78, allocations: 0.8262 MB / 4.356 GB, free: 66.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/11.78, allocations: 0.6006 MB / 4.356 GB, free: 66.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/11.78, allocations: 0 / 4.356 GB, free: 66.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004201/11.78, allocations: 1.683 MB / 4.358 GB, free: 65.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008146/11.78, allocations: 3.77 MB / 4.362 GB, free: 62.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/11.78, allocations: 6.906 kB / 4.362 GB, free: 62.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/11.78, allocations: 335 kB / 4.362 GB, free: 62.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/11.79, allocations: 288.6 kB / 4.362 GB, free: 62.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004098/11.79, allocations: 3.667 MB / 4.366 GB, free: 59.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002821/11.79, allocations: 180.3 kB / 4.366 GB, free: 59.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003183/11.79, allocations: 81.36 kB / 4.366 GB, free: 59.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/11.79, allocations: 2.906 kB / 4.366 GB, free: 59.18 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004235/11.8, allocations: 1.318 MB / 4.367 GB, free: 59.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/11.8, allocations: 9.781 kB / 4.367 GB, free: 59.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/11.8, allocations: 314.8 kB / 4.368 GB, free: 59.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009958/11.8, allocations: 230.6 kB / 4.368 GB, free: 59.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006413/11.81, allocations: 4.93 MB / 4.373 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/11.81, allocations: 141.8 kB / 4.373 GB, free: 55.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002822/11.81, allocations: 70.73 kB / 4.373 GB, free: 55.75 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 111 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 8,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006409/11.81, allocations: 145.1 kB / 4.373 GB, free: 55.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007239/11.81, allocations: 193.5 kB / 4.373 GB, free: 55.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005636/11.81, allocations: 1.497 MB / 4.375 GB, free: 55.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/11.82, allocations: 16.81 kB / 4.375 GB, free: 55.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/11.82, allocations: 0 / 4.375 GB, free: 55.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004083/11.82, allocations: 1.274 MB / 4.376 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009996/11.83, allocations: 2.926 MB / 4.379 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/11.83, allocations: 2.25 kB / 4.379 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/11.83, allocations: 235 kB / 4.379 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007025/11.83, allocations: 242.4 kB / 4.379 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.196e-05/11.83, allocations: 20.77 kB / 4.379 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004647/11.84, allocations: 4.232 MB / 4.384 GB, free: 51.31 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/11.84, allocations: 1.5 kB / 4.384 GB, free: 51.31 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005489/11.84, allocations: 2.084 MB / 4.386 GB, free: 50.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/11.84, allocations: 373.6 kB / 4.386 GB, free: 50.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007347/11.84, allocations: 0 / 4.386 GB, free: 50.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001989/11.85, allocations: 116.4 kB / 4.386 GB, free: 50.69 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/11.85, allocations: 47.98 kB / 4.386 GB, free: 50.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/11.85, allocations: 43.75 kB / 4.386 GB, free: 50.69 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.002566/11.85, allocations: 1.031 MB / 4.387 GB, free: 50.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006997/11.86, allocations: 1.408 MB / 4.388 GB, free: 50.35 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 4,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.008339/11.86, allocations: 4.746 MB / 4.393 GB, free: 48.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005758/11.87, allocations: 2.136 MB / 4.395 GB, free: 48.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/11.87, allocations: 0 / 4.395 GB, free: 48.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002253/11.87, allocations: 0.672 MB / 4.396 GB, free: 48.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005409/11.88, allocations: 0.8781 MB / 4.397 GB, free: 48.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009528/11.89, allocations: 2.88 MB / 4.4 GB, free: 47.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003088/11.89, allocations: 1.806 MB / 4.401 GB, free: 46.61 MB / 0.698 GB Notification: Performance of SimCode: time 2.695e-06/11.89, allocations: 0 / 4.401 GB, free: 46.61 MB / 0.698 GB Notification: Performance of Templates: time 0.1136/12, allocations: 66.73 MB / 4.466 GB, free: 43.16 MB / 0.698 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)