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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 111.2 kB / 19.62 MB, free: 2.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 198.7 kB / 22.91 MB, free: 5.863 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.41/1.41, allocations: 207.6 MB / 233.6 MB, free: 10.93 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3067/0.3067, allocations: 49.53 MB / 335.3 MB, free: 4.387 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 72.45 kB / 475.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1292, allocations: 62.32 MB / 0.5248 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.45/0.5793, allocations: 171.3 MB / 0.6922 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006594/0.5859, allocations: 3.932 MB / 0.696 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000553/0.5864, allocations: 11.94 kB / 0.696 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009668/0.5874, allocations: 282.3 kB / 0.6963 GB, free: 7.059 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.001256/0.5887, allocations: 0.5769 MB / 0.6968 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00453/0.5932, allocations: 1.676 MB / 0.6985 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002023/0.5952, allocations: 1.344 MB / 0.6998 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006494/0.5959, allocations: 361.6 kB / 0.7001 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000949/0.5968, allocations: 0.5256 MB / 0.7006 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008258/0.5976, allocations: 0.5645 MB / 0.7012 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.5978, allocations: 56 kB / 0.7012 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00361/0.6014, allocations: 1.508 MB / 0.7027 GB, free: 448 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006048/0.602, allocations: 478.6 kB / 0.7032 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000712/0.6027, allocations: 0.5438 MB / 0.7037 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003296/0.606, allocations: 1.941 MB / 0.7056 GB, free: 13.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.606, allocations: 0 / 0.7056 GB, free: 13.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.833e-06/0.606, allocations: 0 / 0.7056 GB, free: 13.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.09e-05/0.606, allocations: 4 kB / 0.7056 GB, free: 13.47 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.002693/0.6087, allocations: 1.602 MB / 0.7072 GB, free: 11.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.6088, allocations: 11.89 kB / 0.7072 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.6089, allocations: 102.5 kB / 0.7073 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007918/0.6097, allocations: 187.1 kB / 0.7075 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.611, allocations: 0.8794 MB / 0.7083 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.6111, allocations: 37.31 kB / 0.7084 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.981e-05/0.6112, allocations: 48 kB / 0.7084 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.6123, allocations: 0.6197 MB / 0.709 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.6123, allocations: 0 / 0.709 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.166e-05/0.6124, allocations: 23.94 kB / 0.709 GB, free: 9.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.6124, allocations: 12 kB / 0.709 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000768/0.6131, allocations: 473 kB / 0.7095 GB, free: 9.367 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.00484/0.618, allocations: 2.594 MB / 0.712 GB, free: 6.605 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.6183, allocations: 130.5 kB / 0.7121 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.6184, allocations: 52.83 kB / 0.7122 GB, free: 6.414 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002883/0.6187, allocations: 129.1 kB / 0.7123 GB, free: 6.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.6187, allocations: 38.56 kB / 0.7124 GB, free: 6.223 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/0.6187, allocations: 0 / 0.7124 GB, free: 6.223 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0006391/0.6193, allocations: 281.2 kB / 0.7126 GB, free: 5.941 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.6194, allocations: 55.41 kB / 0.7127 GB, free: 5.875 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/0.6219, allocations: 1.931 MB / 0.7146 GB, free: 3.926 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.622, allocations: 33.7 kB / 0.7146 GB, free: 3.887 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005783/0.6226, allocations: 0.5991 MB / 0.7152 GB, free: 3.285 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/0.6226, allocations: 47.64 kB / 0.7152 GB, free: 3.238 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.6228, allocations: 81.58 kB / 0.7153 GB, free: 3.152 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.6229, allocations: 322 kB / 0.7156 GB, free: 2.832 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.6232, allocations: 122.1 kB / 0.7157 GB, free: 2.707 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.6235, allocations: 247.5 kB / 0.716 GB, free: 2.402 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/0.624, allocations: 341.7 kB / 0.7163 GB, free: 2.004 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.624, allocations: 0 / 0.7163 GB, free: 2.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000938/0.6249, allocations: 0.4966 MB / 0.7168 GB, free: 1.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.625, allocations: 4 kB / 0.7168 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.625, allocations: 8.688 kB / 0.7168 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.625, allocations: 7.938 kB / 0.7168 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/0.6256, allocations: 113.2 kB / 0.7169 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008305/0.6264, allocations: 1.196 MB / 0.7181 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/0.6269, allocations: 83.31 kB / 0.7181 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.627, allocations: 20 kB / 0.7182 GB, free: 28 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.0006372/0.6276, allocations: 378.4 kB / 0.7185 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.6278, allocations: 123.2 kB / 0.7186 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005026/0.6283, allocations: 289 kB / 0.7189 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.6283, allocations: 0 / 0.7189 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6283, allocations: 0 / 0.7189 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.6283, allocations: 4.031 kB / 0.7189 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009521/0.6293, allocations: 0.6877 MB / 0.7196 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.6293, allocations: 3.984 kB / 0.7196 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.6296, allocations: 47.97 kB / 0.7196 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.6296, allocations: 0 / 0.7196 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.6296, allocations: 15.86 kB / 0.7197 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007595/0.6304, allocations: 1.18 MB / 0.7208 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6304, allocations: 6.906 kB / 0.7208 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005567/0.6309, allocations: 417.2 kB / 0.7212 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003654/0.6313, allocations: 252.3 kB / 0.7215 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.6314, allocations: 4 kB / 0.7215 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004225/0.6318, allocations: 11.98 kB / 0.7215 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.6319, allocations: 15.98 kB / 0.7215 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/0.6319, allocations: 15.97 kB / 0.7215 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001881/0.6338, allocations: 1.374 MB / 0.7228 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6338, allocations: 0 / 0.7228 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008495/0.6346, allocations: 239.5 kB / 0.7231 GB, free: 10.84 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.002751/0.6374, allocations: 1.393 MB / 0.7244 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006963/0.6381, allocations: 239.8 kB / 0.7247 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.6381, allocations: 4 kB / 0.7247 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.6383, allocations: 59.97 kB / 0.7247 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.64, allocations: 365.4 kB / 0.7251 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/0.6558, allocations: 10.73 MB / 0.7356 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009142/0.6568, allocations: 1.11 MB / 0.7366 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007821/0.6575, allocations: 224.8 kB / 0.7368 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005469/0.6581, allocations: 407.3 kB / 0.7372 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of SimCode: time 1.383e-06/0.6581, allocations: 0 / 0.7372 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2977/0.9558, allocations: 29.69 MB / 0.7662 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/15.33, allocations: 3.453 kB / 0.7662 GB, free: 205.2 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: 18.27938252099557] Failed to read output from testmodel.py, exit status != 0: 15.493706482986454 15.511504219 14.901228115 Calling exit ...