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.7743/0.7743, allocations: 127.3 MB / 139.8 MB, free: 15.42 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.001012/0.001012, allocations: 176.9 kB / 169.7 MB, free: 1.738 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.919/1.919, allocations: 205.1 MB / 404.5 MB, free: 1.645 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.0008046/0.0008048, allocations: 94.39 kB / 481.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.758e-05/3.761e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1757, allocations: 76.74 MB / 0.6283 GB, free: 9.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.603/0.7787, allocations: 105.7 MB / 0.7315 GB, free: 7.773 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.7791, allocations: 93.55 kB / 0.7315 GB, free: 7.715 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009346/0.7884, allocations: 3.289 MB / 0.7348 GB, free: 4.895 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.839e-06/0.7885, allocations: 3.938 kB / 0.7348 GB, free: 4.891 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.177e-05/0.7885, allocations: 7.938 kB / 0.7348 GB, free: 4.883 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.0007285/0.7893, allocations: 488.1 kB / 0.7352 GB, free: 4.375 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.7893, allocations: 12.03 kB / 0.7352 GB, free: 4.363 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.61e-05/0.7894, allocations: 48.55 kB / 0.7353 GB, free: 4.316 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.44e-05/0.7895, allocations: 25.91 kB / 0.7353 GB, free: 4.293 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.7898, allocations: 238.3 kB / 0.7355 GB, free: 4.035 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.7898, allocations: 18.25 kB / 0.7356 GB, free: 4.023 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.7899, allocations: 15.69 kB / 0.7356 GB, free: 4.012 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003788/0.7903, allocations: 215.3 kB / 0.7358 GB, free: 3.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.7903, allocations: 0 / 0.7358 GB, free: 3.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.7903, allocations: 7.266 kB / 0.7358 GB, free: 3.836 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.7903, allocations: 7.984 kB / 0.7358 GB, free: 3.828 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.7906, allocations: 117.8 kB / 0.7359 GB, free: 3.758 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009914/0.7916, allocations: 0.614 MB / 0.7365 GB, free: 3.199 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.7919, allocations: 121 kB / 0.7366 GB, free: 3.102 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.674e-05/0.792, allocations: 38.86 kB / 0.7367 GB, free: 3.074 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.7921, allocations: 3.5 kB / 0.7367 GB, free: 3.074 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.7921, allocations: 34.56 kB / 0.7367 GB, free: 3.031 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.7921, allocations: 0 / 0.7367 GB, free: 3.031 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002795/0.7924, allocations: 121.9 kB / 0.7368 GB, free: 2.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.127e-05/0.7925, allocations: 128.5 kB / 0.7369 GB, free: 2.773 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.7927, allocations: 184.5 kB / 0.7371 GB, free: 2.617 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.7927, allocations: 41 kB / 0.7371 GB, free: 2.574 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.914e-05/0.7928, allocations: 139.8 kB / 0.7373 GB, free: 2.457 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.7929, allocations: 30.67 kB / 0.7373 GB, free: 2.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.7929, allocations: 3.812 kB / 0.7373 GB, free: 2.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.7931, allocations: 333.8 kB / 0.7376 GB, free: 2.102 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.922e-05/0.7932, allocations: 41.75 kB / 0.7377 GB, free: 2.078 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.7933, allocations: 64.5 kB / 0.7377 GB, free: 2.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.261e-05/0.7934, allocations: 41.19 kB / 0.7378 GB, free: 1.996 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.7934, allocations: 0 / 0.7378 GB, free: 1.996 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002148/0.7936, allocations: 129.4 kB / 0.7379 GB, free: 1.891 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.7936, allocations: 7.938 kB / 0.7379 GB, free: 1.883 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.7936, allocations: 4 kB / 0.7379 GB, free: 1.879 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.7937, allocations: 0 / 0.7379 GB, free: 1.879 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.7938, allocations: 31.11 kB / 0.7379 GB, free: 1.852 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.7938, allocations: 3.984 kB / 0.7379 GB, free: 1.848 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.794, allocations: 35.88 kB / 0.738 GB, free: 1.812 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.794, allocations: 4 kB / 0.738 GB, free: 1.809 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 0.0001043/0.7941, allocations: 121 kB / 0.7381 GB, free: 1.691 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.7941, allocations: 19.81 kB / 0.7381 GB, free: 1.672 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.7944, allocations: 129.1 kB / 0.7382 GB, free: 1.578 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.7944, allocations: 4 kB / 0.7382 GB, free: 1.574 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.7944, allocations: 0 / 0.7382 GB, free: 1.574 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.7944, allocations: 0 / 0.7382 GB, free: 1.574 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.7947, allocations: 275.4 kB / 0.7385 GB, free: 1.297 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7948, allocations: 3.953 kB / 0.7385 GB, free: 1.293 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.7949, allocations: 23.92 kB / 0.7385 GB, free: 1.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.7949, allocations: 0 / 0.7385 GB, free: 1.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.7949, allocations: 4 kB / 0.7385 GB, free: 1.266 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.7949, allocations: 0 / 0.7385 GB, free: 1.266 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7949, allocations: 0 / 0.7385 GB, free: 1.266 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.7952, allocations: 210.8 kB / 0.7387 GB, free: 1.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.977e-05/0.7952, allocations: 96.86 kB / 0.7388 GB, free: 0.957 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.7953, allocations: 6.938 kB / 0.7388 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.7955, allocations: 42.97 kB / 0.7389 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.991e-05/0.7956, allocations: 27.42 kB / 0.7389 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.7956, allocations: 4 kB / 0.7389 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001299/0.7957, allocations: 151.8 kB / 0.739 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7957, allocations: 0 / 0.739 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002456/0.796, allocations: 39.09 kB / 0.7391 GB, free: 0.7266 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.0006118/0.7966, allocations: 0.7621 MB / 0.7398 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.7968, allocations: 89.12 kB / 0.7399 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7968, allocations: 0 / 0.7399 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.197e-05/0.7969, allocations: 58.17 kB / 0.74 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.7972, allocations: 15.86 kB / 0.74 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006454/0.7978, allocations: 258.3 kB / 0.7402 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.7982, allocations: 0.7361 MB / 0.7409 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.429e-05/0.7983, allocations: 17.2 kB / 0.741 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.7984, allocations: 64.78 kB / 0.741 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.7984, allocations: 0 / 0.741 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.8172, allocations: 3.75 MB / 0.7447 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/0.8175, allocations: 192.5 kB / 0.7449 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.628, allocations: 0 / 0.7449 GB, free: 11.02 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)