Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y.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_y,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y") [: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.6901/0.6901, allocations: 127.4 MB / 134.6 MB, free: 9.793 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 181.5 kB / 164.4 MB, free: 5.469 MB / 130.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.1 MB / 399.1 MB, free: 3.043 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 83.45 kB / 476.3 MB, free: 2.633 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 8.887e-06/8.917e-06, allocations: 4 kB / 0.546 GB, free: 15.79 MB / 450.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5092/0.5092, allocations: 76.74 MB / 0.6209 GB, free: 86.59 MB / 498.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.904/5.413, allocations: 2.19 GB / 2.811 GB, free: 26.25 MB / 0.6433 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/5.414, allocations: 94.16 kB / 2.811 GB, free: 26.16 MB / 0.6433 GB Notification: Performance of FrontEnd: time 5.983/11.4, allocations: 1.52 GB / 4.331 GB, free: 18.84 MB / 0.6902 GB Notification: Performance of Transformations before backend: time 0.0005338/11.4, allocations: 64.12 kB / 4.331 GB, free: 18.77 MB / 0.6902 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.01085/11.41, allocations: 2.578 MB / 4.334 GB, free: 16.14 MB / 0.6902 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/11.41, allocations: 12.02 kB / 4.334 GB, free: 16.13 MB / 0.6902 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008254/11.42, allocations: 0.9723 MB / 4.335 GB, free: 15.15 MB / 0.6902 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/11.43, allocations: 3.164 MB / 4.338 GB, free: 11.91 MB / 0.6902 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/11.43, allocations: 44 kB / 4.338 GB, free: 11.87 MB / 0.6902 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008213/11.43, allocations: 92 kB / 4.338 GB, free: 11.78 MB / 0.6902 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004122/11.43, allocations: 1.341 MB / 4.339 GB, free: 10.44 MB / 0.6902 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003186/11.44, allocations: 1.505 MB / 4.341 GB, free: 8.871 MB / 0.6902 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.844e-05/11.44, allocations: 3.703 kB / 4.341 GB, free: 8.871 MB / 0.6902 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/11.44, allocations: 0 / 4.341 GB, free: 8.871 MB / 0.6902 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.434e-05/11.44, allocations: 54.67 kB / 4.341 GB, free: 8.816 MB / 0.6902 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.013/11.45, allocations: 7.821 MB / 4.349 GB, free: 488 kB / 0.6902 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/11.45, allocations: 1.001 MB / 4.35 GB, free: 15.46 MB / 0.7058 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/11.45, allocations: 0.6044 MB / 4.35 GB, free: 14.86 MB / 0.7058 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005019/11.45, allocations: 280.1 kB / 4.35 GB, free: 14.52 MB / 0.7058 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/11.45, allocations: 39.34 kB / 4.351 GB, free: 14.48 MB / 0.7058 GB Notification: Performance of pre-optimization done (n=84): time 3.847e-06/11.45, allocations: 0 / 4.351 GB, free: 14.48 MB / 0.7058 GB Notification: Performance of matching and sorting (n=84): time 0.006127/11.46, allocations: 1.475 MB / 4.352 GB, free: 12.98 MB / 0.7058 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/11.46, allocations: 64.17 kB / 4.352 GB, free: 12.91 MB / 0.7058 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002752/11.46, allocations: 1.359 MB / 4.353 GB, free: 11.52 MB / 0.7058 GB Notification: Performance of collectPreVariables (initialization): time 0.0001839/11.46, allocations: 29.7 kB / 4.353 GB, free: 11.48 MB / 0.7058 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006369/11.46, allocations: 0.6365 MB / 4.354 GB, free: 10.83 MB / 0.7058 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004074/11.46, allocations: 279.8 kB / 4.354 GB, free: 10.55 MB / 0.7058 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/11.46, allocations: 0 / 4.354 GB, free: 10.55 MB / 0.7058 GB Notification: Performance of setup shared object (initialization): time 0.0002185/11.46, allocations: 349.9 kB / 4.355 GB, free: 10.21 MB / 0.7058 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008061/11.46, allocations: 426.5 kB / 4.355 GB, free: 9.789 MB / 0.7058 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/11.47, allocations: 0.8383 MB / 4.356 GB, free: 8.762 MB / 0.7058 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/11.47, allocations: 0.5964 MB / 4.356 GB, free: 8.168 MB / 0.7058 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/11.47, allocations: 0 / 4.356 GB, free: 8.168 MB / 0.7058 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004971/11.47, allocations: 1.686 MB / 4.358 GB, free: 6.457 MB / 0.7058 GB Notification: Performance of prepare postOptimizeDAE: time 0.002177/11.47, allocations: 3.765 MB / 4.362 GB, free: 2.441 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/11.47, allocations: 11.94 kB / 4.362 GB, free: 2.43 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/11.48, allocations: 326.3 kB / 4.362 GB, free: 2.102 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002001/11.48, allocations: 287.5 kB / 4.362 GB, free: 1.82 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4693/11.95, allocations: 3.666 MB / 4.366 GB, free: 132.4 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003008/11.95, allocations: 181.3 kB / 4.366 GB, free: 132.4 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003188/11.95, allocations: 76.89 kB / 4.366 GB, free: 132.4 MB / 0.7058 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/11.95, allocations: 3.938 kB / 4.366 GB, free: 132.4 MB / 0.7058 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003748/11.95, allocations: 1.319 MB / 4.367 GB, free: 132.4 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/11.95, allocations: 15.28 kB / 4.367 GB, free: 132.4 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/11.96, allocations: 309.9 kB / 4.368 GB, free: 132.3 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/11.96, allocations: 235.4 kB / 4.368 GB, free: 132.3 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006575/11.96, allocations: 4.919 MB / 4.373 GB, free: 129.1 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/11.97, allocations: 150.2 kB / 4.373 GB, free: 129.1 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/11.97, allocations: 64.92 kB / 4.373 GB, free: 129.1 MB / 0.7058 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.0005827/11.97, allocations: 146.7 kB / 4.373 GB, free: 129 MB / 0.7058 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003823/11.97, allocations: 191.2 kB / 4.373 GB, free: 129 MB / 0.7058 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005087/11.97, allocations: 1.499 MB / 4.375 GB, free: 128.9 MB / 0.7058 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/11.97, allocations: 7.094 kB / 4.375 GB, free: 128.9 MB / 0.7058 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/11.97, allocations: 1.125 kB / 4.375 GB, free: 128.9 MB / 0.7058 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003718/11.98, allocations: 1.282 MB / 4.376 GB, free: 128.7 MB / 0.7058 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008276/11.98, allocations: 2.933 MB / 4.379 GB, free: 128.3 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/11.98, allocations: 3.562 kB / 4.379 GB, free: 128.3 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/11.99, allocations: 227.8 kB / 4.379 GB, free: 128.3 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007183/11.99, allocations: 252.3 kB / 4.379 GB, free: 128.3 MB / 0.7058 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.317e-05/11.99, allocations: 18.16 kB / 4.379 GB, free: 128.3 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004807/11.99, allocations: 4.225 MB / 4.384 GB, free: 124.8 MB / 0.7058 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/11.99, allocations: 3.656 kB / 4.384 GB, free: 124.8 MB / 0.7058 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005677/12, allocations: 2.085 MB / 4.386 GB, free: 124.4 MB / 0.7058 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/12, allocations: 369.2 kB / 4.386 GB, free: 124.2 MB / 0.7058 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/12, allocations: 7.688 kB / 4.386 GB, free: 124.2 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/12, allocations: 111.2 kB / 4.386 GB, free: 124.2 MB / 0.7058 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/12, allocations: 50.86 kB / 4.386 GB, free: 124.2 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/12, allocations: 44.34 kB / 4.386 GB, free: 124.2 MB / 0.7058 GB Notification: Performance of sort global known variables: time 0.001979/12, allocations: 1.028 MB / 4.387 GB, free: 124.1 MB / 0.7058 GB Notification: Performance of remove unused functions: time 0.006143/12.01, allocations: 1.405 MB / 4.388 GB, free: 124 MB / 0.7058 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.008126/12.02, allocations: 4.745 MB / 4.393 GB, free: 122.3 MB / 0.7058 GB Notification: Performance of simCode: created initialization part: time 0.00576/12.02, allocations: 2.132 MB / 4.395 GB, free: 122 MB / 0.7058 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/12.02, allocations: 1.562 kB / 4.395 GB, free: 122 MB / 0.7058 GB Notification: Performance of simCode: created simulation system equations: time 0.002276/12.03, allocations: 0.6614 MB / 4.396 GB, free: 121.9 MB / 0.7058 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005236/12.03, allocations: 0.8705 MB / 4.397 GB, free: 121.9 MB / 0.7058 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007775/12.04, allocations: 2.897 MB / 4.4 GB, free: 121.1 MB / 0.7058 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001888/12.04, allocations: 1.804 MB / 4.401 GB, free: 120.4 MB / 0.7058 GB Notification: Performance of SimCode: time 1.944e-06/12.04, allocations: 2.188 kB / 4.401 GB, free: 120.4 MB / 0.7058 GB Notification: Performance of Templates: time 0.1251/12.17, allocations: 66.73 MB / 4.466 GB, free: 117.6 MB / 0.7058 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1)