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.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.001321/0.001321, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.0013/0.0013, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.435/1.435, allocations: 207.6 MB / 231.1 MB, free: 4.133 MB / 174.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.4187/0.4187, allocations: 49.52 MB / 332.5 MB, free: 0.7852 MB / 254.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.TestCompressorInertia,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorInertia,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia",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.002112/0.002112, allocations: 80.34 kB / 470.8 MB, free: 41.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09975/0.1019, allocations: 62.34 MB / 0.5206 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.4807/0.5826, allocations: 171.2 MB / 0.6878 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004967/0.5876, allocations: 3.916 MB / 0.6916 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006517/0.5882, allocations: 8.438 kB / 0.6916 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009009/0.5891, allocations: 283 kB / 0.6919 GB, free: 13.83 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.001246/0.5904, allocations: 0.5793 MB / 0.6924 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004401/0.5948, allocations: 1.656 MB / 0.694 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001641/0.5964, allocations: 1.327 MB / 0.6953 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004899/0.5969, allocations: 364.4 kB / 0.6957 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006692/0.5976, allocations: 0.5295 MB / 0.6962 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006139/0.5982, allocations: 0.5676 MB / 0.6968 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.451e-05/0.5983, allocations: 59 kB / 0.6968 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.5998, allocations: 0.7179 MB / 0.6975 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003646/0.6002, allocations: 479.8 kB / 0.698 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004746/0.6007, allocations: 0.5517 MB / 0.6985 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.6025, allocations: 1.579 MB / 0.7001 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.6025, allocations: 3.188 kB / 0.7001 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6025, allocations: 0 / 0.7001 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.6025, allocations: 4 kB / 0.7001 GB, free: 12.59 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002454/0.605, allocations: 1.535 MB / 0.7016 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.605, allocations: 13.98 kB / 0.7016 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.6051, allocations: 101 kB / 0.7017 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007157/0.6059, allocations: 194.6 kB / 0.7019 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.6073, allocations: 0.8739 MB / 0.7027 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.6073, allocations: 39.06 kB / 0.7028 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.65e-05/0.6074, allocations: 49.66 kB / 0.7028 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009287/0.6083, allocations: 0.6388 MB / 0.7034 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.6084, allocations: 3.562 kB / 0.7034 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/0.6084, allocations: 27.84 kB / 0.7035 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.6084, allocations: 12.94 kB / 0.7035 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006497/0.6091, allocations: 494.7 kB / 0.7039 GB, free: 10.63 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.004402/0.6135, allocations: 2.564 MB / 0.7064 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.6138, allocations: 189.1 kB / 0.7066 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.6139, allocations: 72.27 kB / 0.7067 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002826/0.6142, allocations: 110.5 kB / 0.7068 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.6142, allocations: 39.69 kB / 0.7068 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 2.354e-06/0.6142, allocations: 3.062 kB / 0.7068 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20): time 0.0007789/0.615, allocations: 357.7 kB / 0.7072 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.6151, allocations: 54.19 kB / 0.7072 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/0.6172, allocations: 1.909 MB / 0.7091 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.997e-05/0.6173, allocations: 37.95 kB / 0.7091 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004544/0.6177, allocations: 0.5749 MB / 0.7097 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.856e-05/0.6178, allocations: 78.59 kB / 0.7098 GB, free: 8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.6179, allocations: 83.92 kB / 0.7098 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.6181, allocations: 325.7 kB / 0.7102 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.6183, allocations: 140.6 kB / 0.7103 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.6186, allocations: 228.6 kB / 0.7105 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/0.6191, allocations: 336.6 kB / 0.7108 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.6191, allocations: 0 / 0.7108 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009304/0.62, allocations: 0.5111 MB / 0.7113 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.62, allocations: 7.062 kB / 0.7113 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.62, allocations: 7.281 kB / 0.7113 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/0.6201, allocations: 8.797 kB / 0.7114 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005891/0.6207, allocations: 122 kB / 0.7115 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.6218, allocations: 1.786 MB / 0.7132 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.6223, allocations: 70.03 kB / 0.7133 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.055e-05/0.6224, allocations: 30.08 kB / 0.7133 GB, free: 5.27 MB / 0.5137 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.0005663/0.6229, allocations: 384.4 kB / 0.7137 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.6232, allocations: 133.3 kB / 0.7138 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005595/0.6237, allocations: 342.1 kB / 0.7141 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.6237, allocations: 2.094 kB / 0.7141 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6237, allocations: 2.562 kB / 0.7141 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.6237, allocations: 0 / 0.7141 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009702/0.6247, allocations: 0.7113 MB / 0.7148 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.6247, allocations: 0 / 0.7148 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/0.6251, allocations: 72.36 kB / 0.7149 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.6251, allocations: 2.25 kB / 0.7149 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.6251, allocations: 6.531 kB / 0.7149 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.6262, allocations: 1.782 MB / 0.7166 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6263, allocations: 8 kB / 0.7167 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006929/0.6269, allocations: 497.9 kB / 0.7171 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000485/0.6274, allocations: 260.2 kB / 0.7174 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.6275, allocations: 9.625 kB / 0.7174 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004467/0.628, allocations: 22.05 kB / 0.7174 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.628, allocations: 12.77 kB / 0.7174 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.21e-05/0.6281, allocations: 21.38 kB / 0.7174 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001626/0.6297, allocations: 1.366 MB / 0.7188 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.6297, allocations: 2.562 kB / 0.7188 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000771/0.6305, allocations: 234.8 kB / 0.719 GB, free: 1.664 MB / 0.5137 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.002611/0.6331, allocations: 1.427 MB / 0.7204 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007134/0.6338, allocations: 273.5 kB / 0.7207 GB, free: 436 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6338, allocations: 2.438 kB / 0.7207 GB, free: 436 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.6341, allocations: 105.8 kB / 0.7208 GB, free: 396 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.6358, allocations: 392.8 kB / 0.7211 GB, free: 172 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/0.65, allocations: 10.85 MB / 0.7317 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009342/0.6509, allocations: 1.11 MB / 0.7328 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007288/0.6516, allocations: 228.6 kB / 0.733 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005538/0.6522, allocations: 407.2 kB / 0.7334 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of SimCode: time 9.31e-07/0.6522, allocations: 0 / 0.7334 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06886/0.7211, allocations: 30 MB / 0.7627 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/15.19, allocations: 3.953 kB / 0.7627 GB, free: 8.906 MB / 0.5606 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: 18.244023893028498] Failed to read output from testmodel.py, exit status != 0: 15.356902102008462 15.371506327 14.765940007 Calling exit ...