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.000844/0.000844, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003473/0.003473, allocations: 163.9 kB / 24.7 MB, free: 9.402 MB / 18.57 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 0.8212/0.8212, allocations: 158.6 MB / 186.5 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] 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.1576/0.1576, allocations: 36.34 MB / 275.1 MB, free: 10.9 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 415.6 MB, free: 5.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.548e-05, allocations: 2.281 kB / 415.6 MB, free: 5.605 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.2557/0.2557, allocations: 147.5 MB / 0.5499 GB, free: 9.637 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002766/0.2585, allocations: 3.615 MB / 0.5534 GB, free: 6.012 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.2587, allocations: 11.88 kB / 0.5534 GB, free: 6 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005466/0.2592, allocations: 262.2 kB / 0.5536 GB, free: 5.742 MB / 458.7 MB [/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.0007244/0.2599, allocations: 0.5885 MB / 0.5542 GB, free: 5.152 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.2618, allocations: 1.692 MB / 0.5559 GB, free: 3.461 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007189/0.2625, allocations: 1.34 MB / 0.5572 GB, free: 2.117 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.2628, allocations: 350.4 kB / 0.5575 GB, free: 1.773 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004861/0.2633, allocations: 0.6935 MB / 0.5582 GB, free: 1.078 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003548/0.2636, allocations: 498.8 kB / 0.5587 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.643e-05/0.2637, allocations: 58.44 kB / 0.5587 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.2648, allocations: 1.251 MB / 0.5599 GB, free: 15.28 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002362/0.265, allocations: 490.7 kB / 0.5604 GB, free: 14.8 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.2653, allocations: 355 kB / 0.5608 GB, free: 14.45 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.2667, allocations: 1.975 MB / 0.5627 GB, free: 12.47 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.2667, allocations: 0 / 0.5627 GB, free: 12.47 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2667, allocations: 0 / 0.5627 GB, free: 12.47 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.2667, allocations: 0 / 0.5627 GB, free: 12.47 MB / 474.7 MB 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.001264/0.268, allocations: 1.491 MB / 0.5641 GB, free: 10.95 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.268, allocations: 8.031 kB / 0.5641 GB, free: 10.94 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003958/0.2684, allocations: 199 kB / 0.5643 GB, free: 10.74 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006923/0.2691, allocations: 0.7901 MB / 0.5651 GB, free: 9.91 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.2691, allocations: 41.25 kB / 0.5651 GB, free: 9.871 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/0.2692, allocations: 52 kB / 0.5652 GB, free: 9.82 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007116/0.2699, allocations: 1.046 MB / 0.5662 GB, free: 8.656 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.2699, allocations: 0 / 0.5662 GB, free: 8.656 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/0.27, allocations: 24 kB / 0.5662 GB, free: 8.633 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.27, allocations: 12 kB / 0.5663 GB, free: 8.621 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004456/0.2704, allocations: 472.9 kB / 0.5667 GB, free: 8.156 MB / 474.7 MB 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.002227/0.2726, allocations: 1.829 MB / 0.5685 GB, free: 6.281 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.2728, allocations: 138.5 kB / 0.5686 GB, free: 6.137 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.2729, allocations: 44.84 kB / 0.5687 GB, free: 6.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.273, allocations: 47.95 kB / 0.5687 GB, free: 6.043 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.273, allocations: 42.06 kB / 0.5688 GB, free: 5.996 MB / 474.7 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.273, allocations: 0 / 0.5688 GB, free: 5.996 MB / 474.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003148/0.2733, allocations: 276.9 kB / 0.569 GB, free: 5.719 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.2734, allocations: 55.41 kB / 0.5691 GB, free: 5.652 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.2746, allocations: 1.676 MB / 0.5707 GB, free: 3.961 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.2746, allocations: 33.7 kB / 0.5707 GB, free: 3.922 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.2749, allocations: 0.6055 MB / 0.5713 GB, free: 3.312 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.2749, allocations: 43.64 kB / 0.5714 GB, free: 3.27 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.596e-05/0.275, allocations: 77.64 kB / 0.5714 GB, free: 3.188 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.319e-05/0.2751, allocations: 325.9 kB / 0.5718 GB, free: 2.863 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.2752, allocations: 126.2 kB / 0.5719 GB, free: 2.734 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.2754, allocations: 239.2 kB / 0.5721 GB, free: 2.438 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.2756, allocations: 345.6 kB / 0.5724 GB, free: 2.035 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.2756, allocations: 4 kB / 0.5724 GB, free: 2.031 MB / 474.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004352/0.2761, allocations: 488.9 kB / 0.5729 GB, free: 1.547 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2761, allocations: 4 kB / 0.5729 GB, free: 1.543 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.2761, allocations: 11.94 kB / 0.5729 GB, free: 1.531 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2761, allocations: 4 kB / 0.5729 GB, free: 1.527 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.2764, allocations: 107.8 kB / 0.573 GB, free: 1.422 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003951/0.2767, allocations: 1.195 MB / 0.5742 GB, free: 184 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.2769, allocations: 55.64 kB / 0.5742 GB, free: 128 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.277, allocations: 16 kB / 0.5743 GB, free: 112 kB / 474.7 MB 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.0003147/0.2773, allocations: 394.3 kB / 0.5746 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/0.2775, allocations: 107.3 kB / 0.5747 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.2777, allocations: 247.1 kB / 0.575 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2777, allocations: 0 / 0.575 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2777, allocations: 0 / 0.575 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2777, allocations: 0 / 0.575 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/0.2781, allocations: 0.5189 MB / 0.5755 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2781, allocations: 4.812 kB / 0.5755 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.2783, allocations: 52.83 kB / 0.5755 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2783, allocations: 3.938 kB / 0.5755 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.2783, allocations: 4 kB / 0.5755 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003347/0.2786, allocations: 1.182 MB / 0.5767 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2786, allocations: 0.8125 kB / 0.5767 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.2789, allocations: 392 kB / 0.5771 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.279, allocations: 135.3 kB / 0.5772 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.2791, allocations: 11.88 kB / 0.5772 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.2793, allocations: 20.33 kB / 0.5772 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.2793, allocations: 11.97 kB / 0.5772 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.2793, allocations: 15.98 kB / 0.5773 GB, free: 12.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008361/0.2801, allocations: 1.189 MB / 0.5784 GB, free: 11.73 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2801, allocations: 0 / 0.5784 GB, free: 11.73 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000395/0.2805, allocations: 255.3 kB / 0.5787 GB, free: 11.48 MB / 490.7 MB 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.0008476/0.2814, allocations: 0.5709 MB / 0.5792 GB, free: 10.92 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003216/0.2817, allocations: 235.6 kB / 0.5794 GB, free: 10.69 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2817, allocations: 0 / 0.5794 GB, free: 10.69 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.683e-05/0.2818, allocations: 69.03 kB / 0.5795 GB, free: 10.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005131/0.2823, allocations: 192.1 kB / 0.5797 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.2839, allocations: 1.945 MB / 0.5816 GB, free: 8.441 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.2843, allocations: 0.5004 MB / 0.5821 GB, free: 7.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.2844, allocations: 68.5 kB / 0.5822 GB, free: 7.844 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2844, allocations: 0 / 0.5822 GB, free: 7.844 MB / 490.7 MB Notification: Performance of Templates: time 0.01474/0.2992, allocations: 21.88 MB / 0.6035 GB, free: 1.922 MB / 0.4948 GB " [Timeout remaining time 660] 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: 6.246740792877972] Failed to read output from testmodel.py, exit status != 0: 0.3046565279364586 0.314668968 0.046329799000000005 Calling exit ...