Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001257/0.001257, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001423/0.001423, allocations: 214.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.36/1.36, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1419/0.1419, allocations: 26.82 MB / 340.7 MB, free: 8.184 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0-dev_ThermoPower_Test_GasComponents_TestCompressorConstSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_GasComponents_TestCompressorConstSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.001995/0.001995, allocations: 71.83 kB / 476.8 MB, free: 3.664 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3201, allocations: 60.48 MB / 0.5247 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.1977/0.5178, allocations: 170.1 MB / 0.6909 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005551/0.5233, allocations: 3.789 MB / 0.6946 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000485/0.5238, allocations: 11.88 kB / 0.6946 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009154/0.5247, allocations: 286.2 kB / 0.6949 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.526, allocations: 0.63 MB / 0.6955 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004218/0.5302, allocations: 1.624 MB / 0.6971 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001822/0.532, allocations: 1.376 MB / 0.6984 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005638/0.5326, allocations: 376.5 kB / 0.6988 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007683/0.5334, allocations: 0.5451 MB / 0.6993 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007226/0.5341, allocations: 0.5723 MB / 0.6999 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.477e-05/0.5342, allocations: 56 kB / 0.6999 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002826/0.537, allocations: 1.395 MB / 0.7013 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004395/0.5374, allocations: 490.6 kB / 0.7017 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005604/0.538, allocations: 0.5515 MB / 0.7023 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.5406, allocations: 1.939 MB / 0.7042 GB, free: 12.69 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5406, allocations: 0 / 0.7042 GB, free: 12.69 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5406, allocations: 0 / 0.7042 GB, free: 12.69 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.5406, allocations: 0 / 0.7042 GB, free: 12.69 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.002433/0.5431, allocations: 1.546 MB / 0.7057 GB, free: 11.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.5431, allocations: 12.02 kB / 0.7057 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/0.5432, allocations: 94.52 kB / 0.7058 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000765/0.544, allocations: 195 kB / 0.706 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.5453, allocations: 0.8299 MB / 0.7068 GB, free: 9.938 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.5454, allocations: 37.31 kB / 0.7068 GB, free: 9.898 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.397e-05/0.5455, allocations: 48 kB / 0.7069 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009952/0.5465, allocations: 0.6119 MB / 0.7075 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.5465, allocations: 7.891 kB / 0.7075 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.713e-05/0.5465, allocations: 24 kB / 0.7075 GB, free: 9.195 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.5465, allocations: 16 kB / 0.7075 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007265/0.5473, allocations: 480.9 kB / 0.708 GB, free: 8.707 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.004197/0.5515, allocations: 2.304 MB / 0.7102 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.5517, allocations: 126.6 kB / 0.7103 GB, free: 6.176 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.057e-05/0.5518, allocations: 52.84 kB / 0.7104 GB, free: 6.121 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002285/0.552, allocations: 43.95 kB / 0.7104 GB, free: 6.078 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.5521, allocations: 34.56 kB / 0.7105 GB, free: 6.035 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.644e-06/0.5521, allocations: 0 / 0.7105 GB, free: 6.035 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005477/0.5526, allocations: 296.7 kB / 0.7107 GB, free: 5.738 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.5527, allocations: 55.41 kB / 0.7108 GB, free: 5.672 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/0.555, allocations: 1.96 MB / 0.7127 GB, free: 3.695 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.5551, allocations: 29.7 kB / 0.7127 GB, free: 3.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005447/0.5556, allocations: 0.6071 MB / 0.7133 GB, free: 3.047 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.41e-05/0.5557, allocations: 47.64 kB / 0.7134 GB, free: 3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.5558, allocations: 89.55 kB / 0.7135 GB, free: 2.906 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.5559, allocations: 314 kB / 0.7138 GB, free: 2.594 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.5561, allocations: 126.2 kB / 0.7139 GB, free: 2.469 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.5564, allocations: 255.1 kB / 0.7141 GB, free: 2.156 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.5569, allocations: 329.7 kB / 0.7144 GB, free: 1.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5569, allocations: 0 / 0.7144 GB, free: 1.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008366/0.5577, allocations: 0.4987 MB / 0.7149 GB, free: 1.266 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.5577, allocations: 10.91 kB / 0.7149 GB, free: 1.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.5577, allocations: 8 kB / 0.7149 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.5578, allocations: 4 kB / 0.7149 GB, free: 1.246 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005167/0.5583, allocations: 119.8 kB / 0.7151 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007726/0.559, allocations: 1.192 MB / 0.7162 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004778/0.5595, allocations: 83.33 kB / 0.7163 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.592e-05/0.5596, allocations: 23.94 kB / 0.7163 GB, free: 15.79 MB / 0.5606 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.0005184/0.5601, allocations: 389.7 kB / 0.7167 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.5603, allocations: 135.2 kB / 0.7168 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004491/0.5607, allocations: 277.1 kB / 0.7171 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.5607, allocations: 3.938 kB / 0.7171 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.5607, allocations: 11.92 kB / 0.7171 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5607, allocations: 0 / 0.7171 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008598/0.5616, allocations: 0.6677 MB / 0.7178 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5616, allocations: 0 / 0.7178 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.5619, allocations: 47.97 kB / 0.7178 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.5619, allocations: 4 kB / 0.7178 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.5619, allocations: 4 kB / 0.7178 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006787/0.5626, allocations: 1.188 MB / 0.719 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5626, allocations: 0 / 0.719 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005048/0.5631, allocations: 425.2 kB / 0.7194 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003767/0.5634, allocations: 179.1 kB / 0.7195 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.5635, allocations: 4 kB / 0.7195 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.5639, allocations: 11.98 kB / 0.7196 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.564, allocations: 11.98 kB / 0.7196 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.564, allocations: 11.98 kB / 0.7196 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001724/0.5657, allocations: 1.406 MB / 0.721 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.5657, allocations: 0 / 0.721 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000747/0.5665, allocations: 247.6 kB / 0.7212 GB, free: 10.67 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.002412/0.5689, allocations: 1.365 MB / 0.7225 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006073/0.5695, allocations: 232.7 kB / 0.7227 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5695, allocations: 4.062 kB / 0.7228 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.5697, allocations: 71.41 kB / 0.7228 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.5712, allocations: 366.4 kB / 0.7232 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2111/0.7823, allocations: 10.81 MB / 0.7337 GB, free: 192 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005863/0.7829, allocations: 1.113 MB / 0.7348 GB, free: 191.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006103/0.7835, allocations: 224 kB / 0.735 GB, free: 191.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004112/0.7839, allocations: 412.1 kB / 0.7354 GB, free: 191.2 MB / 0.5606 GB Notification: Performance of SimCode: time 8.31e-07/0.7839, allocations: 0.5938 kB / 0.7354 GB, free: 191.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06462/0.8485, allocations: 30.04 MB / 0.7648 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/15.2, allocations: 0 / 0.7648 GB, free: 175.3 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_4_0_0-dev_ThermoPower_Test_GasComponents_TestCompressorConstSpeed_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ThermoPower_4_0_0-dev_ThermoPower_Test_GasComponents_TestCompressorConstSpeed.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.832979799015447] Failed to read output from testmodel.py, exit status != 0: 15.384288632078096 15.403454771 14.858968458 Calling exit ...