Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 211.7 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 207.7 MB / 234.6 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3013/0.3013, allocations: 49.61 MB / 336.4 MB, free: 3.879 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002502/0.002502, allocations: 80.45 kB / 476.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1177, allocations: 62.42 MB / 0.5266 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.4122/0.5298, allocations: 147.5 MB / 0.6707 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005796/0.5356, allocations: 3.596 MB / 0.6742 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004736/0.5361, allocations: 11.94 kB / 0.6742 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008729/0.537, allocations: 266.3 kB / 0.6744 GB, free: 13.59 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001241/0.5382, allocations: 0.5795 MB / 0.675 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004261/0.5425, allocations: 1.664 MB / 0.6766 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001741/0.5442, allocations: 1.337 MB / 0.6779 GB, free: 10 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005717/0.5448, allocations: 357.7 kB / 0.6783 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008189/0.5456, allocations: 0.5412 MB / 0.6788 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007484/0.5463, allocations: 0.5294 MB / 0.6793 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.5465, allocations: 60 kB / 0.6794 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002599/0.5491, allocations: 1.228 MB / 0.6806 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004581/0.5495, allocations: 478.7 kB / 0.681 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004807/0.55, allocations: 433.6 kB / 0.6814 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002695/0.5527, allocations: 1.915 MB / 0.6833 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5527, allocations: 0 / 0.6833 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5527, allocations: 0 / 0.6833 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.118e-05/0.5527, allocations: 0 / 0.6833 GB, free: 4.469 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002497/0.5552, allocations: 1.499 MB / 0.6848 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.5553, allocations: 16.03 kB / 0.6848 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000762/0.556, allocations: 187 kB / 0.685 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.5574, allocations: 0.7901 MB / 0.6857 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/0.5575, allocations: 37.31 kB / 0.6858 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-05/0.5576, allocations: 48 kB / 0.6858 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.5589, allocations: 1.043 MB / 0.6868 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.5589, allocations: 4 kB / 0.6868 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.404e-05/0.559, allocations: 31.88 kB / 0.6869 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.559, allocations: 12 kB / 0.6869 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007541/0.5597, allocations: 473 kB / 0.6873 GB, free: 152 kB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004192/0.5639, allocations: 1.833 MB / 0.6891 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.5642, allocations: 128.5 kB / 0.6892 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.237e-05/0.5643, allocations: 44.84 kB / 0.6893 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/0.5645, allocations: 55.95 kB / 0.6893 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.5646, allocations: 34.56 kB / 0.6894 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/0.5646, allocations: 0 / 0.6894 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0005537/0.5651, allocations: 260.9 kB / 0.6896 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.5652, allocations: 63.39 kB / 0.6897 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/0.5674, allocations: 1.676 MB / 0.6913 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.434e-05/0.5674, allocations: 25.7 kB / 0.6913 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006001/0.568, allocations: 0.6055 MB / 0.6919 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.5681, allocations: 47.64 kB / 0.692 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.5683, allocations: 85.59 kB / 0.6921 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.5684, allocations: 325.9 kB / 0.6924 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.5687, allocations: 118.2 kB / 0.6925 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.569, allocations: 259.1 kB / 0.6927 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006082/0.5696, allocations: 338.5 kB / 0.6931 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5696, allocations: 0 / 0.6931 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000908/0.5705, allocations: 484.4 kB / 0.6935 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.5705, allocations: 8 kB / 0.6935 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.5706, allocations: 8.5 kB / 0.6935 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/0.5706, allocations: 12 kB / 0.6935 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/0.5711, allocations: 106.2 kB / 0.6936 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008866/0.572, allocations: 1.195 MB / 0.6948 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.5725, allocations: 51.61 kB / 0.6949 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.5725, allocations: 24 kB / 0.6949 GB, free: 8.105 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005743/0.5731, allocations: 381.4 kB / 0.6953 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.5733, allocations: 107.5 kB / 0.6954 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/0.5737, allocations: 263.4 kB / 0.6956 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.5737, allocations: 4 kB / 0.6956 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5737, allocations: 0 / 0.6956 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.5737, allocations: 3.938 kB / 0.6956 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007555/0.5745, allocations: 0.5227 MB / 0.6961 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5745, allocations: 0 / 0.6961 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.5747, allocations: 49.47 kB / 0.6962 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5748, allocations: 0 / 0.6962 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.5748, allocations: 0 / 0.6962 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007189/0.5755, allocations: 1.191 MB / 0.6973 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.5755, allocations: 5.688 kB / 0.6973 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005258/0.576, allocations: 388.1 kB / 0.6977 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003314/0.5763, allocations: 139.2 kB / 0.6978 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.329e-05/0.5764, allocations: 0 / 0.6978 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.5768, allocations: 19.92 kB / 0.6979 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.5768, allocations: 7.984 kB / 0.6979 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.5769, allocations: 19.97 kB / 0.6979 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001523/0.5784, allocations: 1.193 MB / 0.6991 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5784, allocations: 0 / 0.6991 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008412/0.5792, allocations: 251.3 kB / 0.6993 GB, free: 3.48 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ConstantSpeed1.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001938/0.5812, allocations: 0.5547 MB / 0.6998 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006603/0.5818, allocations: 243.8 kB / 0.7001 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.5818, allocations: 0 / 0.7001 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.582, allocations: 75.91 kB / 0.7001 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.5831, allocations: 205 kB / 0.7003 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.5861, allocations: 1.928 MB / 0.7022 GB, free: 456 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006241/0.5867, allocations: 0.5087 MB / 0.7027 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005031/0.5872, allocations: 182.6 kB / 0.7029 GB, free: 15.72 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.5874, allocations: 67.42 kB / 0.703 GB, free: 15.66 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.5874, allocations: 0 / 0.703 GB, free: 15.66 MB / 0.545 GB Notification: Performance of Templates: time 0.02703/0.6144, allocations: 14.74 MB / 0.7173 GB, free: 0.8906 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.744390862062573] Failed to read output from testmodel.py, exit status != 0: 0.6242280676960945 0.638813776 0.082866268 Calling exit ...