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.00134/0.00134, allocations: 113 kB / 18.49 MB, free: 4.539 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.001446/0.001446, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.637/1.637, allocations: 207.6 MB / 231.8 MB, free: 4.191 MB / 174.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.5051/0.5051, allocations: 49.5 MB / 333.2 MB, free: 0.793 MB / 254.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.002206/0.002206, allocations: 81.52 kB / 471.5 MB, free: 41.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1029, allocations: 62.33 MB / 0.5213 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.5438/0.6467, allocations: 171.2 MB / 0.6885 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005699/0.6524, allocations: 3.919 MB / 0.6923 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008055/0.6532, allocations: 15.41 kB / 0.6923 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.6542, allocations: 281.3 kB / 0.6926 GB, free: 13.82 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.001459/0.6557, allocations: 0.572 MB / 0.6932 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00448/0.6601, allocations: 1.652 MB / 0.6948 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002123/0.6623, allocations: 1.323 MB / 0.6961 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007194/0.663, allocations: 360.7 kB / 0.6964 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.664, allocations: 0.5387 MB / 0.6969 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008906/0.6649, allocations: 0.5612 MB / 0.6975 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.6651, allocations: 55.75 kB / 0.6975 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.6682, allocations: 1.488 MB / 0.699 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004896/0.6687, allocations: 480.1 kB / 0.6994 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006938/0.6694, allocations: 0.5428 MB / 0.7 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003682/0.6731, allocations: 1.942 MB / 0.7019 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6731, allocations: 0 / 0.7019 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6731, allocations: 0 / 0.7019 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.244e-05/0.6731, allocations: 7.938 kB / 0.7019 GB, free: 12.25 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.002925/0.676, allocations: 1.599 MB / 0.7034 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.6761, allocations: 11.2 kB / 0.7035 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.271e-05/0.6761, allocations: 22.28 kB / 0.7035 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.6762, allocations: 93.7 kB / 0.7036 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008607/0.6771, allocations: 185.8 kB / 0.7037 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.6785, allocations: 0.8762 MB / 0.7046 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/0.6786, allocations: 41.94 kB / 0.7046 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.552e-05/0.6787, allocations: 50.34 kB / 0.7047 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.6798, allocations: 0.6127 MB / 0.7053 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.6798, allocations: 3.938 kB / 0.7053 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.87e-05/0.6799, allocations: 23.94 kB / 0.7053 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.6799, allocations: 16.44 kB / 0.7053 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006769/0.6806, allocations: 475 kB / 0.7058 GB, free: 10.27 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.005372/0.6859, allocations: 2.592 MB / 0.7083 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.6862, allocations: 132.7 kB / 0.7084 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.545e-05/0.6863, allocations: 45.31 kB / 0.7085 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003356/0.6867, allocations: 123.5 kB / 0.7086 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.6867, allocations: 40.31 kB / 0.7086 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 2.144e-06/0.6867, allocations: 0 / 0.7086 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13): time 0.0007017/0.6874, allocations: 293.1 kB / 0.7089 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.6875, allocations: 59.28 kB / 0.709 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002276/0.6897, allocations: 1.925 MB / 0.7109 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.6898, allocations: 31.58 kB / 0.7109 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004746/0.6903, allocations: 0.5989 MB / 0.7115 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/0.6903, allocations: 46.17 kB / 0.7115 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.6905, allocations: 85.52 kB / 0.7116 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.6906, allocations: 319.7 kB / 0.7119 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.6908, allocations: 132.7 kB / 0.712 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.6911, allocations: 236.7 kB / 0.7122 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/0.6915, allocations: 339.5 kB / 0.7126 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.6915, allocations: 4 kB / 0.7126 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007807/0.6923, allocations: 0.4938 MB / 0.7131 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.6923, allocations: 8.062 kB / 0.7131 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.6923, allocations: 8.656 kB / 0.7131 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.6923, allocations: 15.86 kB / 0.7131 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.6928, allocations: 110.3 kB / 0.7132 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008514/0.6937, allocations: 1.187 MB / 0.7144 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006846/0.6944, allocations: 85.7 kB / 0.7144 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.024e-05/0.6944, allocations: 21.66 kB / 0.7145 GB, free: 5.367 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.0006779/0.6951, allocations: 380.3 kB / 0.7148 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.6954, allocations: 125.7 kB / 0.7149 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005435/0.6959, allocations: 271.6 kB / 0.7152 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.6959, allocations: 0 / 0.7152 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.6959, allocations: 0 / 0.7152 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.6959, allocations: 10.03 kB / 0.7152 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.6971, allocations: 0.682 MB / 0.7159 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6971, allocations: 1.188 kB / 0.7159 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.6974, allocations: 58 kB / 0.7159 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.6974, allocations: 0 / 0.7159 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.6974, allocations: 5.469 kB / 0.7159 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007654/0.6981, allocations: 1.18 MB / 0.7171 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6981, allocations: 6.844 kB / 0.7171 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005949/0.6987, allocations: 422.7 kB / 0.7175 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003993/0.6991, allocations: 252 kB / 0.7177 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.6992, allocations: 10.28 kB / 0.7177 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000461/0.6997, allocations: 22.11 kB / 0.7178 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.6997, allocations: 10.08 kB / 0.7178 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.6998, allocations: 14.17 kB / 0.7178 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00182/0.7016, allocations: 1.372 MB / 0.7191 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.7016, allocations: 0 / 0.7191 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009342/0.7025, allocations: 246.5 kB / 0.7194 GB, free: 2.387 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.002689/0.7052, allocations: 1.388 MB / 0.7207 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000647/0.7059, allocations: 234.5 kB / 0.7209 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.7059, allocations: 6.969 kB / 0.721 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.7061, allocations: 68.77 kB / 0.721 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.7078, allocations: 354.2 kB / 0.7214 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/0.7228, allocations: 10.73 MB / 0.7318 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008981/0.7237, allocations: 1.11 MB / 0.7329 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007285/0.7244, allocations: 220.5 kB / 0.7331 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005521/0.725, allocations: 407.3 kB / 0.7335 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of SimCode: time 7.01e-07/0.725, allocations: 4 kB / 0.7335 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06646/0.7914, allocations: 29.71 MB / 0.7625 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.4, allocations: 8.047 kB / 0.7625 GB, free: 9.891 MB / 0.5606 GB " [Timeout remaining time 644] (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: 19.023359199985862] Failed to read output from testmodel.py, exit status != 0: 15.62569702998735 15.648260341 14.970720348 Calling exit ...