Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_LimPIDReset",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.7905/0.7905, allocations: 128.7 MB / 143.7 MB, free: 2.305 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.001105/0.001104, allocations: 190.1 kB / 173.7 MB, free: 6.117 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.605/1.605, allocations: 205.4 MB / 409 MB, free: 10.5 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.000832/0.0008317, allocations: 81.77 kB / 486.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004369/0.0004367, allocations: 8.844 kB / 0.5604 GB, free: 97.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.169, allocations: 76.77 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4532/0.6222, allocations: 111.1 MB / 0.7439 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.6225, allocations: 85.66 kB / 0.744 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.05477/0.6773, allocations: 20.8 MB / 0.7643 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6773, allocations: 0 / 0.7643 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001331/0.6775, allocations: 33 kB / 0.7644 GB, free: 103.4 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002917/0.6804, allocations: 1.275 MB / 0.7656 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.6805, allocations: 9.312 kB / 0.7656 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002652/0.6807, allocations: 113.4 kB / 0.7657 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003599/0.6811, allocations: 123.9 kB / 0.7658 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.6827, allocations: 0.7573 MB / 0.7666 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.515e-05/0.6828, allocations: 83.72 kB / 0.7667 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.683, allocations: 71.53 kB / 0.7667 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.6844, allocations: 0.7908 MB / 0.7675 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.6844, allocations: 3.938 kB / 0.7675 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.999e-05/0.6845, allocations: 28.84 kB / 0.7675 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.6845, allocations: 15.69 kB / 0.7675 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.6858, allocations: 0.5718 MB / 0.7681 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004405/0.6902, allocations: 2.389 MB / 0.7704 GB, free: 99.33 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.6916, allocations: 0.699 MB / 0.7711 GB, free: 98.99 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.878e-05/0.6917, allocations: 7.406 kB / 0.7711 GB, free: 98.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007324/0.6925, allocations: 351.6 kB / 0.7715 GB, free: 98.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 3.507e-06/0.6925, allocations: 0 / 0.7715 GB, free: 98.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=60): time 0.001571/0.6941, allocations: 0.825 MB / 0.7723 GB, free: 98.37 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.6941, allocations: 143.9 kB / 0.7724 GB, free: 98.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007837/0.6949, allocations: 0.6648 MB / 0.773 GB, free: 97.82 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.945e-05/0.695, allocations: 39.86 kB / 0.7731 GB, free: 97.78 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.6953, allocations: 447.1 kB / 0.7735 GB, free: 97.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.6954, allocations: 215.8 kB / 0.7737 GB, free: 97.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.6954, allocations: 12 kB / 0.7737 GB, free: 97.17 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.5e-05/0.6955, allocations: 330.1 kB / 0.774 GB, free: 96.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004211/0.6959, allocations: 225.2 kB / 0.7743 GB, free: 96.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004485/0.6964, allocations: 354.1 kB / 0.7746 GB, free: 96.24 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/0.6968, allocations: 250.1 kB / 0.7748 GB, free: 95.99 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.6969, allocations: 4 kB / 0.7748 GB, free: 95.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001167/0.698, allocations: 0.7008 MB / 0.7755 GB, free: 95.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001496/0.6982, allocations: 0.8753 MB / 0.7764 GB, free: 94.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.6982, allocations: 4 kB / 0.7764 GB, free: 94.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.6982, allocations: 4 kB / 0.7764 GB, free: 94.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000808/0.699, allocations: 163.8 kB / 0.7765 GB, free: 94.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.6991, allocations: 15.97 kB / 0.7766 GB, free: 94.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005874/0.6997, allocations: 75.41 kB / 0.7766 GB, free: 94.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/0.6997, allocations: 20 kB / 0.7766 GB, free: 94.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.6997, allocations: 4 kB / 0.7767 GB, free: 94.05 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006863/0.7004, allocations: 0.5167 MB / 0.7772 GB, free: 93.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.7004, allocations: 0 / 0.7772 GB, free: 93.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.322e-06/0.7004, allocations: 11.94 kB / 0.7772 GB, free: 93.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006701/0.7011, allocations: 139.8 kB / 0.7773 GB, free: 93.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.7011, allocations: 4 kB / 0.7773 GB, free: 93.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005135/0.7017, allocations: 67.91 kB / 0.7774 GB, free: 93.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.7017, allocations: 23.95 kB / 0.7774 GB, free: 93.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0004117/0.7021, allocations: 302.8 kB / 0.7777 GB, free: 93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.7023, allocations: 98.78 kB / 0.7778 GB, free: 92.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.7025, allocations: 105.4 kB / 0.7779 GB, free: 92.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.7025, allocations: 8 kB / 0.7779 GB, free: 92.79 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.7025, allocations: 4 kB / 0.7779 GB, free: 92.78 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.7025, allocations: 7.922 kB / 0.7779 GB, free: 92.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.7046, allocations: 1.529 MB / 0.7794 GB, free: 91.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.7046, allocations: 0 / 0.7794 GB, free: 91.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005577/0.7052, allocations: 119.8 kB / 0.7795 GB, free: 91.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.7052, allocations: 11.92 kB / 0.7795 GB, free: 91.06 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.7052, allocations: 12 kB / 0.7795 GB, free: 91.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.7053, allocations: 4 kB / 0.7795 GB, free: 91.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7053, allocations: 3.953 kB / 0.7795 GB, free: 91.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.7068, allocations: 1.033 MB / 0.7805 GB, free: 89.99 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/0.7071, allocations: 235.7 kB / 0.7808 GB, free: 89.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.7072, allocations: 12 kB / 0.7808 GB, free: 89.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005508/0.7078, allocations: 51.95 kB / 0.7808 GB, free: 89.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.7079, allocations: 40.47 kB / 0.7809 GB, free: 89.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.7079, allocations: 19.98 kB / 0.7809 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006561/0.7086, allocations: 0.5228 MB / 0.7814 GB, free: 89.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7086, allocations: 0 / 0.7814 GB, free: 89.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009813/0.7096, allocations: 284.9 kB / 0.7817 GB, free: 88.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001841/0.7115, allocations: 1.617 MB / 0.7832 GB, free: 87.15 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001552/0.713, allocations: 0.8432 MB / 0.7841 GB, free: 86.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.713, allocations: 4.062 kB / 0.7841 GB, free: 86.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004539/0.7135, allocations: 287.1 kB / 0.7843 GB, free: 86.03 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.7146, allocations: 245.7 kB / 0.7846 GB, free: 85.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.7183, allocations: 3.664 MB / 0.7882 GB, free: 82.03 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.7186, allocations: 1.017 MB / 0.7892 GB, free: 80.99 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005803/0.7192, allocations: 122.4 kB / 0.7893 GB, free: 80.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004214/0.7197, allocations: 367.3 kB / 0.7896 GB, free: 80.5 MB / 0.5105 GB Notification: Performance of SimCode: time 8.41e-07/0.7197, allocations: 0 / 0.7896 GB, free: 80.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03403/0.7537, allocations: 17.27 MB / 0.8065 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001322/0.7539, allocations: 180.8 kB / 0.8067 GB, free: 63.28 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/3.115, allocations: 0 / 0.8067 GB, free: 63.28 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_LimPIDReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)