Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 183.3 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.875/0.875, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 403.4 MB, free: 7.094 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 114.2 kB / 484.4 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009685/0.0009686, allocations: 51.92 kB / 0.5619 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1218, allocations: 80.2 MB / 0.6402 GB, free: 6.77 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003163/0.125, allocations: 2.087 MB / 0.6422 GB, free: 4.66 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008614/0.1258, allocations: 0.5533 MB / 0.6428 GB, free: 4.105 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.573e-05/0.1259, allocations: 8 kB / 0.6428 GB, free: 4.098 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.1261, allocations: 19.73 kB / 0.6428 GB, free: 4.078 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.182e-05/0.1261, allocations: 27.78 kB / 0.6428 GB, free: 4.051 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.1264, allocations: 63.95 kB / 0.6429 GB, free: 3.988 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.1266, allocations: 219.9 kB / 0.6431 GB, free: 3.77 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.1268, allocations: 107.6 kB / 0.6432 GB, free: 3.66 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.1269, allocations: 79.64 kB / 0.6433 GB, free: 3.582 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.127, allocations: 91.53 kB / 0.6434 GB, free: 3.492 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.127, allocations: 12 kB / 0.6434 GB, free: 3.48 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.289e-05/0.1271, allocations: 16 kB / 0.6434 GB, free: 3.465 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.1272, allocations: 43.83 kB / 0.6434 GB, free: 3.422 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.338e-05/0.1273, allocations: 99.39 kB / 0.6435 GB, free: 3.324 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.1275, allocations: 255.4 kB / 0.6438 GB, free: 3.074 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1275, allocations: 4 kB / 0.6438 GB, free: 3.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1275, allocations: 0 / 0.6438 GB, free: 3.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1275, allocations: 0 / 0.6438 GB, free: 3.07 MB / 442.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.0007133/0.1283, allocations: 0.5237 MB / 0.6443 GB, free: 2.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.1283, allocations: 12.03 kB / 0.6443 GB, free: 2.488 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.404e-05/0.1284, allocations: 24.66 kB / 0.6443 GB, free: 2.465 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.1286, allocations: 248.8 kB / 0.6445 GB, free: 2.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.1287, allocations: 16.16 kB / 0.6446 GB, free: 2.164 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.1287, allocations: 24.12 kB / 0.6446 GB, free: 2.141 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.129, allocations: 220.9 kB / 0.6448 GB, free: 1.906 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.1291, allocations: 0 / 0.6448 GB, free: 1.906 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.1291, allocations: 4 kB / 0.6448 GB, free: 1.902 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.1291, allocations: 8 kB / 0.6448 GB, free: 1.895 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.1294, allocations: 143.7 kB / 0.6449 GB, free: 1.754 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008213/0.1302, allocations: 0.5934 MB / 0.6455 GB, free: 1.109 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/0.1306, allocations: 122.7 kB / 0.6456 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.1307, allocations: 44.91 kB / 0.6457 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.019e-05/0.1308, allocations: 8 kB / 0.6457 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.1308, allocations: 30.56 kB / 0.6457 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.1308, allocations: 0 / 0.6457 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004357/0.1313, allocations: 177.8 kB / 0.6459 GB, free: 0.707 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.1313, allocations: 132.5 kB / 0.646 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.1315, allocations: 214.9 kB / 0.6462 GB, free: 336 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.1315, allocations: 25.8 kB / 0.6462 GB, free: 304 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.1316, allocations: 152.1 kB / 0.6464 GB, free: 148 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.1316, allocations: 31.55 kB / 0.6464 GB, free: 116 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.1317, allocations: 33.7 kB / 0.6465 GB, free: 76 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1318, allocations: 334.8 kB / 0.6468 GB, free: 15.74 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.132, allocations: 51.98 kB / 0.6468 GB, free: 15.69 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.1321, allocations: 84.27 kB / 0.6469 GB, free: 15.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.1323, allocations: 91.94 kB / 0.647 GB, free: 15.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1323, allocations: 4 kB / 0.647 GB, free: 15.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002849/0.1326, allocations: 153.4 kB / 0.6471 GB, free: 15.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1326, allocations: 4 kB / 0.6471 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1326, allocations: 7.938 kB / 0.6471 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1326, allocations: 0 / 0.6471 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1328, allocations: 19.92 kB / 0.6472 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1328, allocations: 11.92 kB / 0.6472 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.1329, allocations: 35.84 kB / 0.6472 GB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.1329, allocations: 8 kB / 0.6472 GB, free: 15.25 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.1331, allocations: 132.6 kB / 0.6473 GB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.1331, allocations: 15.81 kB / 0.6474 GB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003089/0.1334, allocations: 150.9 kB / 0.6475 GB, free: 14.94 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1334, allocations: 0 / 0.6475 GB, free: 14.94 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1334, allocations: 0 / 0.6475 GB, free: 14.94 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1334, allocations: 8 kB / 0.6475 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.1337, allocations: 269.4 kB / 0.6478 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.1337, allocations: 0 / 0.6478 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.646e-05/0.1338, allocations: 15.98 kB / 0.6478 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1338, allocations: 0 / 0.6478 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.1338, allocations: 7.938 kB / 0.6478 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1338, allocations: 3.938 kB / 0.6478 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1339, allocations: 0 / 0.6478 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006133/0.1345, allocations: 0.8526 MB / 0.6486 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.1345, allocations: 88.92 kB / 0.6487 GB, free: 13.58 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.1346, allocations: 4 kB / 0.6487 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.1348, allocations: 19.97 kB / 0.6487 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.1349, allocations: 27.95 kB / 0.6488 GB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.1349, allocations: 4 kB / 0.6488 GB, free: 13.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.135, allocations: 156.5 kB / 0.6489 GB, free: 13.37 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.135, allocations: 0 / 0.6489 GB, free: 13.37 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003483/0.1353, allocations: 39.84 kB / 0.649 GB, free: 13.33 MB / 458.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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001348/0.1355, allocations: 119.2 kB / 0.6491 GB, free: 13.21 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002779/0.1358, allocations: 108 kB / 0.6492 GB, free: 13.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1358, allocations: 0 / 0.6492 GB, free: 13.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.1359, allocations: 55.97 kB / 0.6492 GB, free: 13.05 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.1363, allocations: 19.94 kB / 0.6492 GB, free: 13.03 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006459/0.1369, allocations: 0.5172 MB / 0.6498 GB, free: 12.47 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.1372, allocations: 0.7361 MB / 0.6505 GB, free: 11.71 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.361e-05/0.1373, allocations: 21.45 kB / 0.6505 GB, free: 11.69 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.974e-05/0.1374, allocations: 19.44 kB / 0.6505 GB, free: 11.67 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1374, allocations: 0 / 0.6505 GB, free: 11.67 MB / 458.7 MB Notification: Performance of Templates: time 0.004299/0.1417, allocations: 1.978 MB / 0.6524 GB, free: 9.707 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)