Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",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.7267/0.7267, allocations: 127.4 MB / 134.9 MB, free: 3.719 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.001139/0.00114, allocations: 179.1 kB / 164.7 MB, free: 6.516 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.775/1.775, allocations: 205.2 MB / 399.5 MB, free: 5.922 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.0009766/0.0009767, allocations: 90.42 kB / 476.7 MB, free: 8.648 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.92e-05/2.94e-05, allocations: 4 kB / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1842, allocations: 76.76 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6207/0.8049, allocations: 105.3 MB / 0.7244 GB, free: 10.16 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.8052, allocations: 90.62 kB / 0.7245 GB, free: 10.11 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009003/0.8142, allocations: 3.265 MB / 0.7277 GB, free: 7.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.8142, allocations: 4 kB / 0.7277 GB, free: 7.336 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.8143, allocations: 4 kB / 0.7277 GB, free: 7.332 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000698/0.815, allocations: 496.1 kB / 0.7282 GB, free: 6.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.815, allocations: 8.031 kB / 0.7282 GB, free: 6.812 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.891e-05/0.8151, allocations: 27.72 kB / 0.7282 GB, free: 6.785 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.8154, allocations: 231.7 kB / 0.7285 GB, free: 6.535 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.8154, allocations: 4 kB / 0.7285 GB, free: 6.531 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.8155, allocations: 12 kB / 0.7285 GB, free: 6.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002264/0.8157, allocations: 109.5 kB / 0.7286 GB, free: 6.457 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.816, allocations: 189.4 kB / 0.7288 GB, free: 6.293 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.816, allocations: 4 kB / 0.7288 GB, free: 6.289 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.8161, allocations: 7.891 kB / 0.7288 GB, free: 6.281 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.8161, allocations: 4 kB / 0.7288 GB, free: 6.277 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009335/0.817, allocations: 0.554 MB / 0.7293 GB, free: 5.777 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.8173, allocations: 114 kB / 0.7294 GB, free: 5.688 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.453e-05/0.8174, allocations: 34.17 kB / 0.7295 GB, free: 5.664 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.32e-05/0.8175, allocations: 7.812 kB / 0.7295 GB, free: 5.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.8175, allocations: 38.56 kB / 0.7295 GB, free: 5.613 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/0.8175, allocations: 0 / 0.7295 GB, free: 5.613 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002746/0.8178, allocations: 114.3 kB / 0.7296 GB, free: 5.516 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.616e-05/0.8179, allocations: 128.5 kB / 0.7297 GB, free: 5.359 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.818, allocations: 161.6 kB / 0.7299 GB, free: 5.219 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.8181, allocations: 25.7 kB / 0.7299 GB, free: 5.188 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.8182, allocations: 156.8 kB / 0.7301 GB, free: 5.055 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.8183, allocations: 26.98 kB / 0.7301 GB, free: 5.031 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/0.8183, allocations: 4 kB / 0.7301 GB, free: 5.027 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.8184, allocations: 324.4 kB / 0.7304 GB, free: 4.707 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.427e-05/0.8185, allocations: 37.31 kB / 0.7304 GB, free: 4.688 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.056e-05/0.8186, allocations: 63.17 kB / 0.7305 GB, free: 4.633 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.363e-05/0.8187, allocations: 32.48 kB / 0.7305 GB, free: 4.613 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8187, allocations: 0 / 0.7305 GB, free: 4.613 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002057/0.8189, allocations: 131.7 kB / 0.7307 GB, free: 4.504 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.8189, allocations: 4 kB / 0.7307 GB, free: 4.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.8189, allocations: 0 / 0.7307 GB, free: 4.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.8189, allocations: 4 kB / 0.7307 GB, free: 4.496 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.819, allocations: 15.98 kB / 0.7307 GB, free: 4.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.8191, allocations: 0 / 0.7307 GB, free: 4.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.8192, allocations: 35.97 kB / 0.7307 GB, free: 4.445 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.8192, allocations: 0 / 0.7307 GB, free: 4.445 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.292e-05/0.8193, allocations: 112.9 kB / 0.7308 GB, free: 4.328 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000191/0.8195, allocations: 106.9 kB / 0.7309 GB, free: 4.238 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.8196, allocations: 11.91 kB / 0.7309 GB, free: 4.227 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.8198, allocations: 126.4 kB / 0.7311 GB, free: 4.129 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.8199, allocations: 7.984 kB / 0.7311 GB, free: 4.121 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8199, allocations: 4 kB / 0.7311 GB, free: 4.117 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.8199, allocations: 0 / 0.7311 GB, free: 4.117 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.8201, allocations: 236.8 kB / 0.7313 GB, free: 3.883 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8202, allocations: 288 / 0.7313 GB, free: 3.883 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.8203, allocations: 23.88 kB / 0.7313 GB, free: 3.859 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.8203, allocations: 0 / 0.7313 GB, free: 3.859 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.8203, allocations: 3.938 kB / 0.7313 GB, free: 3.855 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.8203, allocations: 4 kB / 0.7313 GB, free: 3.852 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.8203, allocations: 0 / 0.7313 GB, free: 3.852 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.8206, allocations: 206.2 kB / 0.7315 GB, free: 3.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.718e-05/0.8207, allocations: 96.94 kB / 0.7316 GB, free: 3.547 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.8207, allocations: 3.953 kB / 0.7316 GB, free: 3.543 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.8209, allocations: 35.91 kB / 0.7316 GB, free: 3.508 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.089e-05/0.821, allocations: 27.27 kB / 0.7317 GB, free: 3.484 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.821, allocations: 4 kB / 0.7317 GB, free: 3.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001189/0.8211, allocations: 126.1 kB / 0.7318 GB, free: 3.375 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8211, allocations: 0 / 0.7318 GB, free: 3.375 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002681/0.8214, allocations: 35.84 kB / 0.7318 GB, free: 3.34 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0007423/0.8221, allocations: 0.7507 MB / 0.7326 GB, free: 2.586 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.8224, allocations: 88.3 kB / 0.7326 GB, free: 2.531 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.8224, allocations: 4 kB / 0.7327 GB, free: 2.527 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.171e-05/0.8225, allocations: 38.25 kB / 0.7327 GB, free: 2.504 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.8227, allocations: 24.8 kB / 0.7327 GB, free: 2.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000688/0.8234, allocations: 240.1 kB / 0.7329 GB, free: 2.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006283/0.8241, allocations: 0.7427 MB / 0.7337 GB, free: 1.465 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.978e-05/0.8242, allocations: 17.2 kB / 0.7337 GB, free: 1.449 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.8243, allocations: 63.91 kB / 0.7337 GB, free: 1.422 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.8243, allocations: 0 / 0.7337 GB, free: 1.422 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.848, allocations: 3.055 MB / 0.7367 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.8482, allocations: 184.8 kB / 0.7369 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.65, allocations: 2.578 kB / 0.7369 GB, free: 14.22 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)