Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.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.001259/0.001259, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001351/0.001351, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.321/1.321, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 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.2728/0.2728, allocations: 49.57 MB / 337.1 MB, free: 4.117 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: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorInertia,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorInertia,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia",fmuType="cs",version="2.0",platforms={"static"}) [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.002121/0.002121, allocations: 67.89 kB / 477.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1098, allocations: 62.43 MB / 0.5269 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.3893/0.4991, allocations: 171.3 MB / 0.6942 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005586/0.5046, allocations: 3.936 MB / 0.6981 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003912/0.505, allocations: 7.938 kB / 0.6981 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007994/0.5058, allocations: 286.3 kB / 0.6983 GB, free: 6.555 MB / 0.5294 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.001024/0.5069, allocations: 0.5833 MB / 0.6989 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003934/0.5108, allocations: 1.67 MB / 0.7005 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001841/0.5126, allocations: 1.352 MB / 0.7019 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005716/0.5132, allocations: 369.8 kB / 0.7022 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007923/0.514, allocations: 0.545 MB / 0.7027 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007113/0.5147, allocations: 0.5568 MB / 0.7033 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.303e-05/0.5148, allocations: 60 kB / 0.7033 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.5164, allocations: 0.7249 MB / 0.7041 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004335/0.5168, allocations: 482.6 kB / 0.7045 GB, free: 216 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005432/0.5173, allocations: 0.5516 MB / 0.7051 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.5193, allocations: 1.582 MB / 0.7066 GB, free: 14.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5193, allocations: 0 / 0.7066 GB, free: 14.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5193, allocations: 0 / 0.7066 GB, free: 14.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.5193, allocations: 0 / 0.7066 GB, free: 14.07 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002276/0.5216, allocations: 1.472 MB / 0.708 GB, free: 12.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.5216, allocations: 8.031 kB / 0.708 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.617e-05/0.5216, allocations: 17.25 kB / 0.7081 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001206/0.5218, allocations: 94.52 kB / 0.7082 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006967/0.5225, allocations: 191 kB / 0.7083 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.5237, allocations: 0.8152 MB / 0.7091 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.5237, allocations: 37.31 kB / 0.7092 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.589e-05/0.5238, allocations: 52 kB / 0.7092 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.5248, allocations: 0.6276 MB / 0.7098 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.5248, allocations: 3.938 kB / 0.7098 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.148e-05/0.5249, allocations: 24 kB / 0.7099 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.5249, allocations: 12 kB / 0.7099 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007618/0.5257, allocations: 0.497 MB / 0.7104 GB, free: 10.13 MB / 0.545 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.00407/0.5298, allocations: 2.335 MB / 0.7126 GB, free: 7.688 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.5301, allocations: 194.5 kB / 0.7128 GB, free: 7.488 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.5302, allocations: 76.83 kB / 0.7129 GB, free: 7.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002207/0.5304, allocations: 39.94 kB / 0.7129 GB, free: 7.371 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.5305, allocations: 38.56 kB / 0.713 GB, free: 7.324 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.452e-06/0.5305, allocations: 0 / 0.713 GB, free: 7.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=20): time 0.0006754/0.5311, allocations: 357 kB / 0.7133 GB, free: 6.969 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.5312, allocations: 63.41 kB / 0.7134 GB, free: 6.895 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/0.5334, allocations: 1.903 MB / 0.7152 GB, free: 4.973 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.5335, allocations: 33.7 kB / 0.7153 GB, free: 4.934 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005176/0.534, allocations: 0.576 MB / 0.7158 GB, free: 4.355 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.236e-05/0.5341, allocations: 79.38 kB / 0.7159 GB, free: 4.277 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.5342, allocations: 82.02 kB / 0.716 GB, free: 4.191 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5343, allocations: 325.9 kB / 0.7163 GB, free: 3.867 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.5346, allocations: 134.6 kB / 0.7164 GB, free: 3.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.5349, allocations: 242.4 kB / 0.7166 GB, free: 3.449 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/0.5354, allocations: 334.4 kB / 0.717 GB, free: 3.074 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5354, allocations: 3.938 kB / 0.717 GB, free: 3.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008508/0.5362, allocations: 0.5159 MB / 0.7175 GB, free: 2.547 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.5362, allocations: 7.984 kB / 0.7175 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.5362, allocations: 4 kB / 0.7175 GB, free: 2.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.5363, allocations: 8 kB / 0.7175 GB, free: 2.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005757/0.5368, allocations: 113.4 kB / 0.7176 GB, free: 2.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.5379, allocations: 1.79 MB / 0.7193 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.5384, allocations: 71.39 kB / 0.7194 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/0.5384, allocations: 29.83 kB / 0.7194 GB, free: 472 kB / 0.545 GB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005162/0.5389, allocations: 377.6 kB / 0.7198 GB, free: 84 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.5392, allocations: 131.3 kB / 0.7199 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005531/0.5397, allocations: 343.9 kB / 0.7203 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.5397, allocations: 4 kB / 0.7203 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.5397, allocations: 0 / 0.7203 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5397, allocations: 3.75 kB / 0.7203 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008623/0.5406, allocations: 0.6903 MB / 0.7209 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.5406, allocations: 3.938 kB / 0.7209 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/0.541, allocations: 71.95 kB / 0.721 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.541, allocations: 0 / 0.721 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.541, allocations: 4 kB / 0.721 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.542, allocations: 1.785 MB / 0.7228 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.542, allocations: 0 / 0.7228 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006765/0.5427, allocations: 497.8 kB / 0.7232 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.543, allocations: 175.4 kB / 0.7234 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.5431, allocations: 11.94 kB / 0.7234 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000443/0.5436, allocations: 20.86 kB / 0.7234 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.5436, allocations: 11.97 kB / 0.7234 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/0.5437, allocations: 19.98 kB / 0.7235 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001708/0.5454, allocations: 1.358 MB / 0.7248 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5454, allocations: 0 / 0.7248 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007504/0.5461, allocations: 247.5 kB / 0.725 GB, free: 10.59 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00259/0.5487, allocations: 1.438 MB / 0.7264 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007325/0.5494, allocations: 275.6 kB / 0.7267 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.5494, allocations: 4 kB / 0.7267 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002935/0.5497, allocations: 100.8 kB / 0.7268 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.5514, allocations: 388.2 kB / 0.7272 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/0.5656, allocations: 10.86 MB / 0.7378 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00077/0.5663, allocations: 1.106 MB / 0.7388 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006046/0.5669, allocations: 236.6 kB / 0.7391 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000496/0.5674, allocations: 403.3 kB / 0.7395 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.5674, allocations: 0 / 0.7395 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2456/0.813, allocations: 30.31 MB / 0.7691 GB, free: 206 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/15, allocations: 6.688 kB / 0.7691 GB, free: 206 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.920053328038193] Failed to read output from testmodel.py, exit status != 0: 15.235942937084474 15.250300952 14.72828405 Calling exit ...