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.8286/0.8286, allocations: 127.4 MB / 134.9 MB, free: 3.734 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.001322/0.001322, allocations: 184.8 kB / 164.7 MB, free: 6.523 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.641/1.641, allocations: 205.2 MB / 399.5 MB, free: 5.926 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.0008161/0.0008165, allocations: 86.41 kB / 476.7 MB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.156e-05/2.179e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1537, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5588/0.7125, allocations: 110.6 MB / 0.7296 GB, free: 5.152 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.7128, allocations: 80.14 kB / 0.7297 GB, free: 5.109 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05697/0.7698, allocations: 20.61 MB / 0.7498 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7699, allocations: 0 / 0.7498 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.744e-05/0.77, allocations: 28.12 kB / 0.7498 GB, free: 4.004 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.001958/0.7719, allocations: 1.099 MB / 0.7509 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.772, allocations: 8.031 kB / 0.7509 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002376/0.7722, allocations: 122.5 kB / 0.751 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.7736, allocations: 0.7485 MB / 0.7518 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.552e-05/0.7737, allocations: 63.69 kB / 0.7518 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.229e-05/0.7738, allocations: 43.95 kB / 0.7519 GB, free: 2.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008779/0.7747, allocations: 462.5 kB / 0.7523 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.7758, allocations: 0.6444 MB / 0.7529 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.7758, allocations: 0 / 0.7529 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.749e-05/0.7759, allocations: 3.984 kB / 0.7529 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.7759, allocations: 16 kB / 0.753 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003597/0.7795, allocations: 2.24 MB / 0.7552 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.7806, allocations: 0.5644 MB / 0.7557 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.7809, allocations: 210.2 kB / 0.7559 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.363e-05/0.781, allocations: 16.48 kB / 0.7559 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004963/0.7815, allocations: 280.6 kB / 0.7562 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 2.895e-06/0.7815, allocations: 0 / 0.7562 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=60): time 0.0009154/0.7824, allocations: 0.4932 MB / 0.7567 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.7825, allocations: 137.1 kB / 0.7568 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006971/0.7832, allocations: 0.559 MB / 0.7573 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.7833, allocations: 29.7 kB / 0.7574 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/0.7836, allocations: 454 kB / 0.7578 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.7838, allocations: 193.5 kB / 0.758 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.7838, allocations: 0 / 0.758 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.784, allocations: 328 kB / 0.7583 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.7843, allocations: 169 kB / 0.7585 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/0.7847, allocations: 298 kB / 0.7587 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.785, allocations: 201.1 kB / 0.7589 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.785, allocations: 0 / 0.7589 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008678/0.7859, allocations: 0.5609 MB / 0.7595 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004224/0.7863, allocations: 0.8771 MB / 0.7603 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.7863, allocations: 3.938 kB / 0.7603 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.479e-05/0.7864, allocations: 7.953 kB / 0.7604 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008955/0.7873, allocations: 171 kB / 0.7605 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.7873, allocations: 4 kB / 0.7605 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/0.7878, allocations: 63.5 kB / 0.7606 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.75e-05/0.7879, allocations: 26.98 kB / 0.7606 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.883e-06/0.7879, allocations: 4 kB / 0.7606 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006951/0.7886, allocations: 430.4 kB / 0.761 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.7886, allocations: 4 kB / 0.761 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.7886, allocations: 4 kB / 0.761 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007041/0.7893, allocations: 147.1 kB / 0.7612 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.7893, allocations: 4 kB / 0.7612 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.7898, allocations: 47.08 kB / 0.7612 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.717e-05/0.7898, allocations: 14.94 kB / 0.7612 GB, free: 10.37 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 () * 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.0001729/0.79, allocations: 131.8 kB / 0.7614 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00077/0.7908, allocations: 0.4886 MB / 0.7618 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.7909, allocations: 90.88 kB / 0.7619 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.7912, allocations: 94.53 kB / 0.762 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.7912, allocations: 8 kB / 0.762 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7912, allocations: 0 / 0.762 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.7912, allocations: 3.984 kB / 0.762 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.7931, allocations: 1.318 MB / 0.7633 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.7931, allocations: 4 kB / 0.7633 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005854/0.7937, allocations: 113.1 kB / 0.7634 GB, free: 8.617 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.7937, allocations: 4 kB / 0.7634 GB, free: 8.613 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.7937, allocations: 3.875 kB / 0.7634 GB, free: 8.613 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.7937, allocations: 4 kB / 0.7634 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.7938, allocations: 7.922 kB / 0.7634 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.7949, allocations: 0.8699 MB / 0.7643 GB, free: 7.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.7953, allocations: 226.1 kB / 0.7645 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.511e-05/0.7954, allocations: 3.625 kB / 0.7645 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005199/0.7959, allocations: 39.95 kB / 0.7645 GB, free: 7.738 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.796, allocations: 35.45 kB / 0.7646 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.516e-05/0.7961, allocations: 19.55 kB / 0.7646 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007526/0.7968, allocations: 439.3 kB / 0.765 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7968, allocations: 7.938 kB / 0.765 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00112/0.798, allocations: 270.8 kB / 0.7653 GB, free: 7.109 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 () * 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.00207/0.8001, allocations: 1.414 MB / 0.7667 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.8016, allocations: 0.7339 MB / 0.7674 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.8016, allocations: 4 kB / 0.7674 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003714/0.802, allocations: 241.9 kB / 0.7676 GB, free: 5.254 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.8032, allocations: 230 kB / 0.7678 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.8061, allocations: 1.279 MB / 0.7691 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006618/0.8067, allocations: 1.022 MB / 0.7701 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007862/0.8075, allocations: 169.2 kB / 0.7702 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004782/0.808, allocations: 363.3 kB / 0.7706 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of SimCode: time 1.914e-06/0.808, allocations: 0 / 0.7706 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04715/0.8552, allocations: 17.33 MB / 0.7875 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.8554, allocations: 146.6 kB / 0.7877 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.597/3.453, allocations: 4 kB / 0.7877 GB, free: 0.7148 MB / 0.5261 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)