Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001731/0.001731, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001993/0.001993, allocations: 210.7 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1639/0.1639, allocations: 26.84 MB / 340.7 MB, free: 7.973 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.002336/0.002336, allocations: 68.17 kB / 477.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3953, allocations: 60.48 MB / 0.5251 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.2076/0.6029, allocations: 146.8 MB / 0.6685 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005855/0.6087, allocations: 3.486 MB / 0.6719 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004822/0.6092, allocations: 11.88 kB / 0.672 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009401/0.6102, allocations: 254.3 kB / 0.6722 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.6115, allocations: 0.6378 MB / 0.6728 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004454/0.616, allocations: 1.622 MB / 0.6744 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00195/0.6179, allocations: 1.364 MB / 0.6757 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006205/0.6185, allocations: 372.5 kB / 0.6761 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009359/0.6195, allocations: 0.545 MB / 0.6766 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007365/0.6202, allocations: 0.5372 MB / 0.6771 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.6203, allocations: 60 kB / 0.6772 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/0.623, allocations: 1.189 MB / 0.6784 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004926/0.6235, allocations: 474.6 kB / 0.6788 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005081/0.624, allocations: 445.5 kB / 0.6792 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002823/0.6269, allocations: 1.9 MB / 0.6811 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.6269, allocations: 0 / 0.6811 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6269, allocations: 0 / 0.6811 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.776e-05/0.6269, allocations: 0 / 0.6811 GB, free: 4.539 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.002598/0.6295, allocations: 1.527 MB / 0.6826 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.6295, allocations: 8.031 kB / 0.6826 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00079/0.6303, allocations: 199 kB / 0.6828 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.6318, allocations: 0.8062 MB / 0.6836 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.372e-05/0.6319, allocations: 37.31 kB / 0.6836 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.218e-05/0.632, allocations: 48 kB / 0.6837 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.6333, allocations: 1.045 MB / 0.6847 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.6333, allocations: 3.938 kB / 0.6847 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.176e-05/0.6333, allocations: 20 kB / 0.6847 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.6333, allocations: 12 kB / 0.6847 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007459/0.6341, allocations: 477 kB / 0.6852 GB, free: 184 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.00406/0.6382, allocations: 1.837 MB / 0.687 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.6384, allocations: 134.6 kB / 0.6871 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.103e-05/0.6385, allocations: 44.84 kB / 0.6871 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000241/0.6388, allocations: 47.89 kB / 0.6872 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.6388, allocations: 38.56 kB / 0.6872 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.764e-06/0.6388, allocations: 0 / 0.6872 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0005902/0.6394, allocations: 276.9 kB / 0.6875 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.6394, allocations: 63.28 kB / 0.6875 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/0.6416, allocations: 1.706 MB / 0.6892 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.6417, allocations: 29.7 kB / 0.6892 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005422/0.6422, allocations: 0.6018 MB / 0.6898 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.484e-05/0.6423, allocations: 47.64 kB / 0.6899 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.6424, allocations: 89.55 kB / 0.6899 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.6426, allocations: 322 kB / 0.6903 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.6428, allocations: 122.2 kB / 0.6904 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.6431, allocations: 251.2 kB / 0.6906 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/0.6436, allocations: 329.7 kB / 0.6909 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6436, allocations: 0 / 0.6909 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008049/0.6444, allocations: 498.9 kB / 0.6914 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.6444, allocations: 8 kB / 0.6914 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.6445, allocations: 4 kB / 0.6914 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.6445, allocations: 11.94 kB / 0.6914 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/0.645, allocations: 103.9 kB / 0.6915 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.6461, allocations: 1.192 MB / 0.6927 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005598/0.6466, allocations: 63.62 kB / 0.6927 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.032e-05/0.6467, allocations: 23.98 kB / 0.6928 GB, free: 8.082 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.0006181/0.6473, allocations: 377.5 kB / 0.6931 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.6475, allocations: 107.3 kB / 0.6932 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004578/0.6479, allocations: 267.1 kB / 0.6935 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.6479, allocations: 4.094 kB / 0.6935 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.6479, allocations: 3.984 kB / 0.6935 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.6479, allocations: 7.938 kB / 0.6935 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009064/0.6488, allocations: 0.5309 MB / 0.694 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6488, allocations: 0 / 0.694 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.6491, allocations: 43.97 kB / 0.6941 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.6491, allocations: 7.922 kB / 0.6941 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.6491, allocations: 4 kB / 0.6941 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009323/0.6501, allocations: 1.191 MB / 0.6952 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6501, allocations: 0 / 0.6952 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006258/0.6507, allocations: 392.1 kB / 0.6956 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00037/0.6511, allocations: 143.5 kB / 0.6957 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.298e-05/0.6511, allocations: 0 / 0.6957 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.6515, allocations: 23.91 kB / 0.6958 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.6515, allocations: 7.984 kB / 0.6958 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/0.6516, allocations: 15.98 kB / 0.6958 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001745/0.6533, allocations: 1.209 MB / 0.697 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6533, allocations: 0 / 0.697 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001141/0.6545, allocations: 263.3 kB / 0.6972 GB, free: 3.406 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.002166/0.6566, allocations: 0.5614 MB / 0.6978 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007527/0.6574, allocations: 231.6 kB / 0.698 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.6574, allocations: 0 / 0.698 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.6576, allocations: 67.91 kB / 0.6981 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.6586, allocations: 193.5 kB / 0.6982 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/0.6621, allocations: 1.983 MB / 0.7002 GB, free: 500 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007188/0.6628, allocations: 0.5117 MB / 0.7007 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005827/0.6634, allocations: 190.4 kB / 0.7009 GB, free: 15.76 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.6636, allocations: 67.42 kB / 0.7009 GB, free: 15.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.052e-06/0.6636, allocations: 0 / 0.7009 GB, free: 15.7 MB / 0.545 GB Notification: Performance of Templates: time 0.02839/0.692, allocations: 14.69 MB / 0.7153 GB, free: 1.125 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6858806405216455] Failed to read output from testmodel.py, exit status != 0: 0.7016195710748434 0.71623398 0.08610234700000001 Calling exit ...