Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.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.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7192/0.7192, allocations: 117.9 MB / 133.9 MB, free: 4.539 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.001089/0.001089, allocations: 186 kB / 161.7 MB, free: 2.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.4 MB / 394.8 MB, free: 21.17 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.0008001/0.0008001, allocations: 112.7 kB / 470.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003845, allocations: 16 kB / 0.5423 GB, free: 7.109 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3741, allocations: 74.53 MB / 0.6151 GB, free: 54.17 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1412/0.5153, allocations: 109.7 MB / 0.7222 GB, free: 8.355 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.5156, allocations: 91.94 kB / 0.7223 GB, free: 8.266 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 0.04875/0.5644, allocations: 17.85 MB / 0.7397 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.765e-06/0.5645, allocations: 4 kB / 0.7397 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.357e-05/0.5645, allocations: 15.98 kB / 0.7397 GB, free: 6.359 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001944/0.5665, allocations: 1.071 MB / 0.7408 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.5665, allocations: 8.031 kB / 0.7408 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.5667, allocations: 95.81 kB / 0.7409 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009961/0.5677, allocations: 0.6339 MB / 0.7415 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.5679, allocations: 97.28 kB / 0.7416 GB, free: 4.344 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.568, allocations: 56.28 kB / 0.7416 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.5692, allocations: 0.6802 MB / 0.7423 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.5693, allocations: 0 / 0.7423 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.229e-05/0.5693, allocations: 20 kB / 0.7423 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.5694, allocations: 12 kB / 0.7423 GB, free: 3.527 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.5704, allocations: 0.4957 MB / 0.7428 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00308/0.5735, allocations: 2.228 MB / 0.745 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.5748, allocations: 0.5927 MB / 0.7456 GB, free: 116 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3177/0.8925, allocations: 233.2 kB / 0.7458 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.515e-05/0.8926, allocations: 7.641 kB / 0.7458 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009207/0.8935, allocations: 328.9 kB / 0.7461 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 3.467e-06/0.8935, allocations: 0.625 kB / 0.7461 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.001866/0.8954, allocations: 0.709 MB / 0.7468 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/0.8955, allocations: 193.4 kB / 0.747 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009502/0.8965, allocations: 0.6265 MB / 0.7476 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/0.8965, allocations: 38.61 kB / 0.7477 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.8968, allocations: 364.4 kB / 0.748 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.8969, allocations: 158.1 kB / 0.7482 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/0.8969, allocations: 8.969 kB / 0.7482 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.907e-05/0.897, allocations: 329.9 kB / 0.7485 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004719/0.8975, allocations: 210.1 kB / 0.7487 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/0.898, allocations: 344.6 kB / 0.749 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009932/0.899, allocations: 0.5349 MB / 0.7495 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.899, allocations: 0.6562 kB / 0.7495 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00133/0.9004, allocations: 0.665 MB / 0.7502 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.723e-05/0.9005, allocations: 190.2 kB / 0.7504 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.9005, allocations: 2.344 kB / 0.7504 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.9005, allocations: 5.469 kB / 0.7504 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/0.9011, allocations: 125.4 kB / 0.7505 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.9011, allocations: 7.109 kB / 0.7505 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.9016, allocations: 92.89 kB / 0.7506 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/0.9016, allocations: 16.8 kB / 0.7506 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.552e-06/0.9016, allocations: 6.5 kB / 0.7506 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008579/0.9025, allocations: 0.4888 MB / 0.7511 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.9025, allocations: 2.375 kB / 0.7511 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.9025, allocations: 10.77 kB / 0.7511 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.9029, allocations: 104.9 kB / 0.7512 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.9029, allocations: 7.562 kB / 0.7512 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003591/0.9033, allocations: 59.06 kB / 0.7513 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.9033, allocations: 19.94 kB / 0.7513 GB, free: 117.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002965/0.9036, allocations: 281 kB / 0.7515 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.969e-05/0.9037, allocations: 75.81 kB / 0.7516 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.9039, allocations: 78.33 kB / 0.7517 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.9039, allocations: 5.062 kB / 0.7517 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.9039, allocations: 1.812 kB / 0.7517 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.904, allocations: 1.922 kB / 0.7517 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007636/0.9047, allocations: 0.6635 MB / 0.7523 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.9047, allocations: 1.719 kB / 0.7523 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004809/0.9052, allocations: 93.19 kB / 0.7524 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.9052, allocations: 3.75 kB / 0.7524 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.9053, allocations: 10.8 kB / 0.7524 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.9053, allocations: 2.047 kB / 0.7525 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.9053, allocations: 0 / 0.7525 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.9069, allocations: 0.8352 MB / 0.7533 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/0.9072, allocations: 204.8 kB / 0.7535 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-05/0.9073, allocations: 11.14 kB / 0.7535 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.9077, allocations: 67.2 kB / 0.7535 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.913e-05/0.9078, allocations: 31.05 kB / 0.7536 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.9079, allocations: 19.38 kB / 0.7536 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005254/0.9084, allocations: 439.1 kB / 0.754 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9084, allocations: 0 / 0.754 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006301/0.9091, allocations: 241 kB / 0.7542 GB, free: 116.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001517/0.9092, allocations: 128.3 kB / 0.7544 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.9109, allocations: 0.8524 MB / 0.7552 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.9109, allocations: 0.5312 kB / 0.7552 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005866/0.9115, allocations: 259.8 kB / 0.7554 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009935/0.9125, allocations: 193.3 kB / 0.7556 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.915, allocations: 1.422 MB / 0.757 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.9154, allocations: 0.9177 MB / 0.7579 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004862/0.9159, allocations: 99.06 kB / 0.758 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.9161, allocations: 48.25 kB / 0.758 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/0.9161, allocations: 0 / 0.758 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.01217/0.9283, allocations: 8.21 MB / 0.7661 GB, free: 113.8 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)