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.001205/0.001205, 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.001395/0.001395, allocations: 205.2 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.339/1.339, allocations: 207.6 MB / 235.3 MB, free: 10.02 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.2831/0.2831, allocations: 49.56 MB / 337.1 MB, free: 4.211 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.TestCompressorConstSpeed,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed",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.002124/0.002124, allocations: 71.91 kB / 477.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1113, allocations: 62.43 MB / 0.5269 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.3882/0.4995, allocations: 171.3 MB / 0.6942 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005731/0.5052, allocations: 3.936 MB / 0.698 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004682/0.5057, allocations: 15.88 kB / 0.6981 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008898/0.5066, allocations: 282.3 kB / 0.6983 GB, free: 6.535 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.001363/0.5079, allocations: 0.5795 MB / 0.6989 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004421/0.5124, allocations: 1.665 MB / 0.7005 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001735/0.5141, allocations: 1.34 MB / 0.7018 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006973/0.5148, allocations: 361.8 kB / 0.7022 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.5159, allocations: 0.5408 MB / 0.7027 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009092/0.5168, allocations: 0.5645 MB / 0.7033 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.5169, allocations: 60 kB / 0.7033 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003203/0.5201, allocations: 1.508 MB / 0.7048 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006617/0.5208, allocations: 478.6 kB / 0.7052 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.522, allocations: 0.5438 MB / 0.7058 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004727/0.5268, allocations: 1.943 MB / 0.7077 GB, free: 12.94 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.5268, allocations: 0 / 0.7077 GB, free: 12.94 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5268, allocations: 0 / 0.7077 GB, free: 12.94 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.456e-05/0.5268, allocations: 4 kB / 0.7077 GB, free: 12.94 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.003158/0.53, allocations: 1.519 MB / 0.7092 GB, free: 11.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.53, allocations: 12.03 kB / 0.7092 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.252e-05/0.5301, allocations: 17.75 kB / 0.7092 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002123/0.5303, allocations: 102.5 kB / 0.7093 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.5313, allocations: 191.8 kB / 0.7095 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.5331, allocations: 0.8021 MB / 0.7103 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.751e-05/0.5331, allocations: 37.31 kB / 0.7103 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.5333, allocations: 56 kB / 0.7103 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.5345, allocations: 0.6081 MB / 0.7109 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.5346, allocations: 11.92 kB / 0.7109 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.44e-05/0.5347, allocations: 24 kB / 0.711 GB, free: 9.469 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.5347, allocations: 12 kB / 0.711 GB, free: 9.457 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008553/0.5355, allocations: 476.9 kB / 0.7114 GB, free: 8.988 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.005047/0.5406, allocations: 2.294 MB / 0.7137 GB, free: 6.598 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.5409, allocations: 126.6 kB / 0.7138 GB, free: 6.465 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.435e-05/0.541, allocations: 52.78 kB / 0.7138 GB, free: 6.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002405/0.5412, allocations: 51.94 kB / 0.7139 GB, free: 6.359 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.5412, allocations: 38.56 kB / 0.7139 GB, free: 6.312 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 2.144e-06/0.5412, allocations: 0 / 0.7139 GB, free: 6.312 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0006447/0.5419, allocations: 292.7 kB / 0.7142 GB, free: 6.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.5419, allocations: 59.34 kB / 0.7143 GB, free: 5.949 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002578/0.5445, allocations: 1.927 MB / 0.7161 GB, free: 4.004 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.151e-05/0.5445, allocations: 25.7 kB / 0.7162 GB, free: 3.973 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000538/0.5451, allocations: 0.5992 MB / 0.7168 GB, free: 3.371 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/0.5451, allocations: 59.55 kB / 0.7168 GB, free: 3.312 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.5453, allocations: 77.66 kB / 0.7169 GB, free: 3.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5454, allocations: 322 kB / 0.7172 GB, free: 2.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.5456, allocations: 126.1 kB / 0.7173 GB, free: 2.781 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.5459, allocations: 255.2 kB / 0.7176 GB, free: 2.469 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000462/0.5464, allocations: 337.7 kB / 0.7179 GB, free: 2.074 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.5464, allocations: 4 kB / 0.7179 GB, free: 2.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009178/0.5473, allocations: 0.4885 MB / 0.7184 GB, free: 1.574 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.5473, allocations: 12.5 kB / 0.7184 GB, free: 1.562 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.5474, allocations: 8 kB / 0.7184 GB, free: 1.555 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.031e-05/0.5474, allocations: 11.94 kB / 0.7184 GB, free: 1.543 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/0.5479, allocations: 112.6 kB / 0.7185 GB, free: 1.434 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000736/0.5486, allocations: 1.188 MB / 0.7197 GB, free: 204 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/0.5492, allocations: 79.58 kB / 0.7197 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.194e-05/0.5492, allocations: 23.98 kB / 0.7198 GB, free: 100 kB / 0.545 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.000511/0.5497, allocations: 381.5 kB / 0.7201 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.55, allocations: 123.2 kB / 0.7202 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004557/0.5504, allocations: 269.8 kB / 0.7205 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.5504, allocations: 4 kB / 0.7205 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5504, allocations: 0 / 0.7205 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.5505, allocations: 11.92 kB / 0.7205 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000937/0.5514, allocations: 0.6595 MB / 0.7212 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5514, allocations: 0 / 0.7212 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/0.5517, allocations: 55.83 kB / 0.7212 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5517, allocations: 0 / 0.7212 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.5517, allocations: 0 / 0.7212 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007757/0.5525, allocations: 1.188 MB / 0.7224 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5525, allocations: 0 / 0.7224 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006645/0.5531, allocations: 421.2 kB / 0.7228 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004147/0.5535, allocations: 175.2 kB / 0.7229 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.5537, allocations: 4 kB / 0.7229 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000479/0.5542, allocations: 17.02 kB / 0.723 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.5542, allocations: 11.98 kB / 0.723 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-05/0.5542, allocations: 19.97 kB / 0.723 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001998/0.5562, allocations: 1.37 MB / 0.7243 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5562, allocations: 0 / 0.7243 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008517/0.5571, allocations: 239.6 kB / 0.7246 GB, free: 11.05 MB / 0.5606 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.002685/0.5598, allocations: 1.403 MB / 0.7259 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006818/0.5605, allocations: 236.4 kB / 0.7262 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.5605, allocations: 4.375 kB / 0.7262 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.5607, allocations: 67.91 kB / 0.7262 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.5624, allocations: 356.2 kB / 0.7266 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/0.5776, allocations: 10.73 MB / 0.737 GB, free: 14 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008604/0.5784, allocations: 1.114 MB / 0.7381 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000635/0.5791, allocations: 216.8 kB / 0.7383 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005177/0.5796, allocations: 403.3 kB / 0.7387 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of SimCode: time 8.32e-07/0.5796, allocations: 8 kB / 0.7387 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2627/0.8423, allocations: 29.96 MB / 0.768 GB, free: 204.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/15.02, allocations: 17.42 kB / 0.768 GB, free: 204.5 MB / 0.5919 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.9359534640098] Failed to read output from testmodel.py, exit status != 0: 15.251957410015166 15.265230606 14.735709975 Calling exit ...