Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7356/0.7356, allocations: 127.3 MB / 139.8 MB, free: 15.52 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001271/0.001271, allocations: 184.8 kB / 169.7 MB, free: 1.742 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.608/1.608, allocations: 205.1 MB / 404.5 MB, free: 1.656 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.0007627/0.0007627, allocations: 95.25 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.868e-05/3.87e-05, allocations: 3.984 kB / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.168, allocations: 76.75 MB / 0.6282 GB, free: 9.953 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.527/0.6951, allocations: 109.9 MB / 0.7356 GB, free: 3.562 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.6954, allocations: 85.31 kB / 0.7356 GB, free: 3.516 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03454/0.73, allocations: 13.15 MB / 0.7485 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7301, allocations: 0 / 0.7485 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.927e-05/0.7301, allocations: 16 kB / 0.7485 GB, free: 8.48 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.00169/0.7318, allocations: 0.8905 MB / 0.7494 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.7319, allocations: 8.031 kB / 0.7494 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.732, allocations: 100.3 kB / 0.7495 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.7322, allocations: 83.06 kB / 0.7496 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008666/0.7331, allocations: 0.5452 MB / 0.7501 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.808e-05/0.7331, allocations: 46.44 kB / 0.7501 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.584e-05/0.7332, allocations: 60.25 kB / 0.7502 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.7343, allocations: 0.6107 MB / 0.7508 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.7343, allocations: 7.922 kB / 0.7508 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.534e-05/0.7344, allocations: 32.56 kB / 0.7508 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.7344, allocations: 12 kB / 0.7508 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000735/0.7351, allocations: 430.7 kB / 0.7512 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003431/0.7386, allocations: 2.126 MB / 0.7533 GB, free: 3.965 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008155/0.7394, allocations: 436.2 kB / 0.7537 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/0.7398, allocations: 220.2 kB / 0.7539 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.221e-05/0.7399, allocations: 8.438 kB / 0.754 GB, free: 3.305 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004821/0.7403, allocations: 253.3 kB / 0.7542 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=50): time 3.286e-06/0.7404, allocations: 0 / 0.7542 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of matching and sorting (n=50): time 0.0008549/0.7412, allocations: 427.5 kB / 0.7546 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.7414, allocations: 170.6 kB / 0.7548 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005601/0.7419, allocations: 399.9 kB / 0.7551 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.006e-05/0.742, allocations: 37.7 kB / 0.7552 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.7423, allocations: 321.1 kB / 0.7555 GB, free: 1.656 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.7425, allocations: 169.6 kB / 0.7557 GB, free: 1.488 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.7425, allocations: 12 kB / 0.7557 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.7427, allocations: 366.7 kB / 0.756 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/0.743, allocations: 153.1 kB / 0.7562 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004369/0.7434, allocations: 267.5 kB / 0.7564 GB, free: 0.668 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.7438, allocations: 213.6 kB / 0.7566 GB, free: 464 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.7438, allocations: 0 / 0.7566 GB, free: 464 kB / 0.4948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008869/0.7447, allocations: 0.5273 MB / 0.7571 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003264/0.745, allocations: 0.6436 MB / 0.7578 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.7451, allocations: 4 kB / 0.7578 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.7451, allocations: 4 kB / 0.7578 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005558/0.7456, allocations: 123.8 kB / 0.7579 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.7457, allocations: 7.953 kB / 0.7579 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/0.7461, allocations: 87.48 kB / 0.758 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.7462, allocations: 16 kB / 0.758 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.7462, allocations: 4 kB / 0.758 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007398/0.747, allocations: 467 kB / 0.7584 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.747, allocations: 4 kB / 0.7584 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.747, allocations: 4 kB / 0.7585 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004915/0.7475, allocations: 107.8 kB / 0.7586 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.7475, allocations: 4 kB / 0.7586 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/0.7479, allocations: 63.72 kB / 0.7586 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.748, allocations: 20 kB / 0.7586 GB, free: 14.31 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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.0001761/0.7481, allocations: 140.8 kB / 0.7588 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.7483, allocations: 63.28 kB / 0.7588 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.7485, allocations: 69.33 kB / 0.7589 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.7485, allocations: 8 kB / 0.7589 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.7485, allocations: 0 / 0.7589 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.7485, allocations: 7.984 kB / 0.7589 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.7504, allocations: 1.217 MB / 0.7601 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.7504, allocations: 0 / 0.7601 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000514/0.7509, allocations: 107.9 kB / 0.7602 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.7509, allocations: 7.875 kB / 0.7602 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.751, allocations: 16 kB / 0.7602 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.751, allocations: 4 kB / 0.7602 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.751, allocations: 0 / 0.7602 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.7521, allocations: 0.7487 MB / 0.761 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.7524, allocations: 188.2 kB / 0.7611 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.036e-05/0.7524, allocations: 16 kB / 0.7612 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/0.7528, allocations: 51.95 kB / 0.7612 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.7529, allocations: 36.39 kB / 0.7612 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.753, allocations: 11.98 kB / 0.7613 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004374/0.7534, allocations: 313.6 kB / 0.7616 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7534, allocations: 0 / 0.7616 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008027/0.7542, allocations: 267 kB / 0.7618 GB, free: 10.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * 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.001553/0.7558, allocations: 1.325 MB / 0.7631 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00126/0.7571, allocations: 0.7533 MB / 0.7638 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.7571, allocations: 8.125 kB / 0.7638 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003556/0.7575, allocations: 210.4 kB / 0.764 GB, free: 8.629 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008598/0.7583, allocations: 146.2 kB / 0.7642 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/0.7619, allocations: 1.407 MB / 0.7656 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005549/0.7625, allocations: 0.9112 MB / 0.7664 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000562/0.7631, allocations: 100.5 kB / 0.7665 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003647/0.7634, allocations: 219.4 kB / 0.7668 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of SimCode: time 1.042e-06/0.7634, allocations: 0 / 0.7668 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03348/0.7969, allocations: 13.04 MB / 0.7795 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/0.7972, allocations: 162.4 kB / 0.7796 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/3.148, allocations: 0 / 0.7796 GB, free: 8.699 MB / 0.5261 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)