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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 124.5 kB / 18.46 MB, free: 4.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 190.6 kB / 21.4 MB, free: 1.535 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.577/1.577, allocations: 207.6 MB / 231.8 MB, free: 4.023 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4697/0.4697, allocations: 49.51 MB / 333.2 MB, free: 0.7852 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 70.89 kB / 471.9 MB, free: 40.77 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1378, allocations: 62.33 MB / 0.5217 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.5769/0.7147, allocations: 171.2 MB / 0.6889 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005462/0.7201, allocations: 3.923 MB / 0.6927 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007458/0.7209, allocations: 11.53 kB / 0.6927 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009576/0.7218, allocations: 278.1 kB / 0.693 GB, free: 14.04 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.001371/0.7232, allocations: 0.5761 MB / 0.6936 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004431/0.7276, allocations: 1.644 MB / 0.6952 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001843/0.7295, allocations: 1.315 MB / 0.6965 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005522/0.73, allocations: 358.4 kB / 0.6968 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007622/0.7308, allocations: 0.5244 MB / 0.6973 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006624/0.7314, allocations: 0.5625 MB / 0.6979 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.7316, allocations: 58.5 kB / 0.6979 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/0.7347, allocations: 1.486 MB / 0.6994 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004252/0.7352, allocations: 482.2 kB / 0.6998 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005868/0.7357, allocations: 0.5331 MB / 0.7004 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003026/0.7388, allocations: 1.93 MB / 0.7022 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.7388, allocations: 4 kB / 0.7022 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7388, allocations: 2.781 kB / 0.7022 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.647e-05/0.7388, allocations: 0 / 0.7022 GB, free: 12.48 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.002504/0.7413, allocations: 1.569 MB / 0.7038 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.7413, allocations: 17.98 kB / 0.7038 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000793/0.7421, allocations: 188.9 kB / 0.704 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.7434, allocations: 0.861 MB / 0.7048 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.087e-05/0.7434, allocations: 38.41 kB / 0.7049 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.019e-05/0.7435, allocations: 50.66 kB / 0.7049 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.7445, allocations: 0.614 MB / 0.7055 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.7446, allocations: 2.469 kB / 0.7055 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.834e-05/0.7446, allocations: 26.19 kB / 0.7055 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.7446, allocations: 12.16 kB / 0.7055 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006828/0.7453, allocations: 474.5 kB / 0.706 GB, free: 10.57 MB / 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.004613/0.7499, allocations: 2.584 MB / 0.7085 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.7502, allocations: 129.1 kB / 0.7086 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.6e-05/0.7503, allocations: 49.28 kB / 0.7087 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002879/0.7506, allocations: 129.1 kB / 0.7088 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.7506, allocations: 40.97 kB / 0.7088 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.794e-06/0.7506, allocations: 0 / 0.7088 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13): time 0.0005809/0.7512, allocations: 286.3 kB / 0.7091 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.7512, allocations: 54.19 kB / 0.7092 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/0.7534, allocations: 1.906 MB / 0.711 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.7535, allocations: 28.23 kB / 0.7111 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004711/0.7539, allocations: 0.5885 MB / 0.7116 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.754, allocations: 49.73 kB / 0.7117 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.7541, allocations: 82.36 kB / 0.7118 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.7543, allocations: 319.6 kB / 0.7121 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.7544, allocations: 128.5 kB / 0.7122 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.7547, allocations: 244.3 kB / 0.7124 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.7552, allocations: 336.9 kB / 0.7127 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.7552, allocations: 2.062 kB / 0.7127 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008185/0.756, allocations: 0.4984 MB / 0.7132 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.756, allocations: 8.469 kB / 0.7132 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.756, allocations: 2.656 kB / 0.7132 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.756, allocations: 11.75 kB / 0.7133 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005011/0.7565, allocations: 113.3 kB / 0.7134 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008657/0.7574, allocations: 1.19 MB / 0.7145 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005268/0.7579, allocations: 74.02 kB / 0.7146 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/0.758, allocations: 28.97 kB / 0.7146 GB, free: 5.68 MB / 0.5137 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.0005202/0.7585, allocations: 376.7 kB / 0.715 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.7587, allocations: 127.6 kB / 0.7151 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000421/0.7591, allocations: 278 kB / 0.7154 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.7591, allocations: 2.656 kB / 0.7154 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.7591, allocations: 0 / 0.7154 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.7591, allocations: 3.938 kB / 0.7154 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008608/0.76, allocations: 0.6758 MB / 0.716 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.76, allocations: 0 / 0.716 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.7602, allocations: 51.73 kB / 0.7161 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.7602, allocations: 2.938 kB / 0.7161 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.7603, allocations: 0 / 0.7161 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000761/0.761, allocations: 1.19 MB / 0.7172 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.761, allocations: 3.938 kB / 0.7173 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.7615, allocations: 418.4 kB / 0.7177 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003357/0.7619, allocations: 240.7 kB / 0.7179 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.762, allocations: 0.875 kB / 0.7179 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/0.7624, allocations: 21.28 kB / 0.7179 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.7624, allocations: 7.062 kB / 0.7179 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.709e-05/0.7625, allocations: 21.16 kB / 0.7179 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001633/0.7641, allocations: 1.357 MB / 0.7193 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.7641, allocations: 0 / 0.7193 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000832/0.7649, allocations: 236.5 kB / 0.7195 GB, free: 2.742 MB / 0.5137 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.001837/0.7668, allocations: 0.545 MB / 0.72 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006201/0.7674, allocations: 227.7 kB / 0.7202 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.7674, allocations: 2.094 kB / 0.7202 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.7676, allocations: 65.62 kB / 0.7203 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.7692, allocations: 373.2 kB / 0.7206 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.7722, allocations: 2.017 MB / 0.7226 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007896/0.773, allocations: 1.09 MB / 0.7237 GB, free: 32 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.7732, allocations: 85.69 kB / 0.7238 GB, free: 12 kB / 0.5137 GB Notification: Performance of SimCode: time 7.92e-07/0.7732, allocations: 0 / 0.7238 GB, free: 12 kB / 0.5137 GB Notification: Performance of Templates: time 0.0357/0.8089, allocations: 23.89 MB / 0.7471 GB, free: 10.6 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: 11.434090211056173] Failed to read output from testmodel.py, exit status != 0: 0.8170347681734711 0.830274676 0.08855953200000001 Calling exit ...