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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 92.39 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.648/1.648, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.311/1.311, allocations: 143.4 MB / 434.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000583/0.0005831, allocations: 8 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.241, allocations: 83.43 MB / 0.5975 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.004745/0.2459, allocations: 3.655 MB / 0.6011 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00334/0.2492, allocations: 1.496 MB / 0.6026 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006044/0.2499, allocations: 35.81 kB / 0.6026 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.2502, allocations: 118.9 kB / 0.6027 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006095/0.2509, allocations: 162.8 kB / 0.6029 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.2522, allocations: 0.5126 MB / 0.6034 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001292/0.2535, allocations: 1.05 MB / 0.6044 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005807/0.2541, allocations: 351.4 kB / 0.6047 GB, free: 304 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4301/0.6842, allocations: 338.2 kB / 0.605 GB, free: 35.56 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007555/0.685, allocations: 331.3 kB / 0.6054 GB, free: 35.56 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001989/0.6852, allocations: 24.78 kB / 0.6054 GB, free: 35.56 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.306e-05/0.6853, allocations: 27.19 kB / 0.6054 GB, free: 35.56 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.6855, allocations: 136.7 kB / 0.6055 GB, free: 35.56 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.6857, allocations: 177.9 kB / 0.6057 GB, free: 35.53 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000754/0.6865, allocations: 0.8421 MB / 0.6065 GB, free: 35.49 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.6865, allocations: 2.875 kB / 0.6065 GB, free: 35.49 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.477e-06/0.6865, allocations: 3.062 kB / 0.6065 GB, free: 35.49 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.975e-05/0.6866, allocations: 0.9375 kB / 0.6065 GB, free: 35.49 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001983/0.6885, allocations: 1.25 MB / 0.6078 GB, free: 34.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.6886, allocations: 9.062 kB / 0.6078 GB, free: 34.78 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/0.6887, allocations: 113.9 kB / 0.6079 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.6889, allocations: 124.7 kB / 0.608 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.69, allocations: 0.69 MB / 0.6087 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.6901, allocations: 85.17 kB / 0.6088 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.6902, allocations: 71.22 kB / 0.6088 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.6914, allocations: 0.7424 MB / 0.6095 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.6914, allocations: 6.594 kB / 0.6096 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.084e-05/0.6915, allocations: 29.34 kB / 0.6096 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.6915, allocations: 14.78 kB / 0.6096 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.6926, allocations: 0.5244 MB / 0.6101 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003145/0.6957, allocations: 2.3 MB / 0.6124 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.697, allocations: 0.6305 MB / 0.613 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005516/0.6976, allocations: 275 kB / 0.6132 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.418e-05/0.6977, allocations: 6.625 kB / 0.6132 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007537/0.6984, allocations: 332.8 kB / 0.6136 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.976e-06/0.6984, allocations: 0 / 0.6136 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001666/0.7001, allocations: 0.7717 MB / 0.6143 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/0.7002, allocations: 86.58 kB / 0.6144 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009323/0.7011, allocations: 0.7431 MB / 0.6151 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.7012, allocations: 37.45 kB / 0.6152 GB, free: 32.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004097/0.7016, allocations: 439.1 kB / 0.6156 GB, free: 32.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.7018, allocations: 206.7 kB / 0.6158 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.7018, allocations: 10.62 kB / 0.6158 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.433e-05/0.7019, allocations: 337.5 kB / 0.6161 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/0.7023, allocations: 202.8 kB / 0.6163 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/0.7028, allocations: 307.4 kB / 0.6166 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004601/0.7033, allocations: 236.4 kB / 0.6168 GB, free: 32.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.7033, allocations: 0 / 0.6168 GB, free: 32.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00114/0.7044, allocations: 0.6656 MB / 0.6175 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.7046, allocations: 152.9 kB / 0.6176 GB, free: 31.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.7046, allocations: 7.625 kB / 0.6176 GB, free: 31.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.7046, allocations: 5.781 kB / 0.6176 GB, free: 31.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006518/0.7053, allocations: 145.8 kB / 0.6178 GB, free: 31.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.7053, allocations: 5.531 kB / 0.6178 GB, free: 31.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/0.7057, allocations: 78.02 kB / 0.6178 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.7058, allocations: 19.41 kB / 0.6179 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.998e-06/0.7058, allocations: 9.141 kB / 0.6179 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000897/0.7067, allocations: 0.5214 MB / 0.6184 GB, free: 31.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.7067, allocations: 0 / 0.6184 GB, free: 31.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.7067, allocations: 8.984 kB / 0.6184 GB, free: 31.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005553/0.7073, allocations: 142 kB / 0.6185 GB, free: 31.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.7073, allocations: 11.47 kB / 0.6185 GB, free: 31.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.7077, allocations: 68.2 kB / 0.6186 GB, free: 31.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.7077, allocations: 21.77 kB / 0.6186 GB, free: 31.87 MB / 0.4981 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,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,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.0003638/0.7081, allocations: 292.2 kB / 0.6189 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.7082, allocations: 98.92 kB / 0.619 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.7084, allocations: 107.8 kB / 0.6191 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.7084, allocations: 5.75 kB / 0.6191 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/0.7085, allocations: 2.016 kB / 0.6191 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.7085, allocations: 6.391 kB / 0.6191 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/0.7107, allocations: 1.449 MB / 0.6205 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.7107, allocations: 0 / 0.6205 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005278/0.7112, allocations: 113.8 kB / 0.6206 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.7112, allocations: 6.594 kB / 0.6206 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.7113, allocations: 15.12 kB / 0.6207 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.7113, allocations: 0 / 0.6207 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.7113, allocations: 4.156 kB / 0.6207 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.7128, allocations: 0.9683 MB / 0.6216 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.7131, allocations: 232.6 kB / 0.6218 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.737e-05/0.7131, allocations: 15.22 kB / 0.6218 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/0.7136, allocations: 36.02 kB / 0.6219 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/0.7136, allocations: 38.25 kB / 0.6219 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/0.7137, allocations: 19.67 kB / 0.6219 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005701/0.7143, allocations: 0.5102 MB / 0.6224 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7143, allocations: 4 kB / 0.6224 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007627/0.715, allocations: 274.3 kB / 0.6227 GB, free: 30.76 MB / 0.4981 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 (trigger.y,$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.001741/0.7168, allocations: 1.539 MB / 0.6242 GB, free: 29.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001489/0.7183, allocations: 0.7977 MB / 0.625 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.7183, allocations: 0 / 0.625 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000456/0.7188, allocations: 281.5 kB / 0.6252 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.7199, allocations: 241.2 kB / 0.6255 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007495/0.7274, allocations: 5.106 MB / 0.6305 GB, free: 26.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005467/0.728, allocations: 1.001 MB / 0.6314 GB, free: 26.08 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007327/0.7288, allocations: 113.8 kB / 0.6315 GB, free: 26.06 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004944/0.7293, allocations: 350.4 kB / 0.6319 GB, free: 25.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.453e-06/0.7293, allocations: 0 / 0.6319 GB, free: 25.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0559/0.7852, allocations: 16.53 MB / 0.648 GB, free: 24.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/0.7854, allocations: 201.2 kB / 0.6482 GB, free: 24.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/3.344, allocations: 0 / 0.6482 GB, free: 24.52 MB / 0.4981 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) Environment - environmentSimulation: