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.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.001334/0.001334, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.001585/0.001585, allocations: 215.1 kB / 21.45 MB, free: 1.641 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.514/1.514, allocations: 207.6 MB / 231.8 MB, free: 4.031 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.4281/0.4281, allocations: 49.51 MB / 333.2 MB, free: 0.7578 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.TestCompressorInertia,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorInertia,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia",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.002192/0.002192, allocations: 67.41 kB / 471.5 MB, free: 41.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1058, allocations: 62.35 MB / 0.5213 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.5189/0.6246, allocations: 171.2 MB / 0.6885 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005979/0.6306, allocations: 3.916 MB / 0.6923 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006735/0.6313, allocations: 10.81 kB / 0.6923 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009935/0.6323, allocations: 290.1 kB / 0.6926 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.001229/0.6335, allocations: 0.5793 MB / 0.6932 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004325/0.6378, allocations: 1.644 MB / 0.6948 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00185/0.6397, allocations: 1.337 MB / 0.6961 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005362/0.6402, allocations: 367.7 kB / 0.6964 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007326/0.641, allocations: 0.5368 MB / 0.697 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005943/0.6416, allocations: 0.5659 MB / 0.6975 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.6417, allocations: 58.72 kB / 0.6976 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.6432, allocations: 0.7225 MB / 0.6983 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004114/0.6436, allocations: 474.9 kB / 0.6987 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005237/0.6441, allocations: 0.5509 MB / 0.6993 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001829/0.6459, allocations: 1.582 MB / 0.7008 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.6459, allocations: 0 / 0.7008 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6459, allocations: 0 / 0.7008 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.646, allocations: 0 / 0.7008 GB, free: 12.57 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.00258/0.6485, allocations: 1.543 MB / 0.7023 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.6486, allocations: 13.92 kB / 0.7023 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.424e-05/0.6486, allocations: 17.5 kB / 0.7023 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/0.6487, allocations: 97.67 kB / 0.7024 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007642/0.6495, allocations: 186.4 kB / 0.7026 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.6507, allocations: 0.8769 MB / 0.7035 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.6508, allocations: 38.38 kB / 0.7035 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.63e-05/0.6508, allocations: 50.31 kB / 0.7036 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.6518, allocations: 0.6266 MB / 0.7042 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.6519, allocations: 10.41 kB / 0.7042 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-05/0.6519, allocations: 22.22 kB / 0.7042 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.652, allocations: 13.03 kB / 0.7042 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007143/0.6527, allocations: 0.4901 MB / 0.7047 GB, free: 10.62 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.004437/0.6571, allocations: 2.564 MB / 0.7072 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.6574, allocations: 183.2 kB / 0.7074 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.6576, allocations: 75.64 kB / 0.7074 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002932/0.6579, allocations: 109.2 kB / 0.7075 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.6579, allocations: 40.62 kB / 0.7076 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 2.073e-06/0.6579, allocations: 4 kB / 0.7076 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20): time 0.0008328/0.6587, allocations: 365.3 kB / 0.7079 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.6588, allocations: 54.12 kB / 0.708 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002322/0.6611, allocations: 1.911 MB / 0.7099 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.473e-05/0.6612, allocations: 31.95 kB / 0.7099 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004664/0.6616, allocations: 0.5735 MB / 0.7104 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.508e-05/0.6617, allocations: 75.97 kB / 0.7105 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.6619, allocations: 82.7 kB / 0.7106 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.662, allocations: 326.9 kB / 0.7109 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.6623, allocations: 145.2 kB / 0.7111 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.6626, allocations: 224.8 kB / 0.7113 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/0.6631, allocations: 331.9 kB / 0.7116 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.6631, allocations: 10.06 kB / 0.7116 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000948/0.664, allocations: 0.504 MB / 0.7121 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.6641, allocations: 7.656 kB / 0.7121 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.6641, allocations: 3.219 kB / 0.7121 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.6641, allocations: 11.34 kB / 0.7121 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/0.6647, allocations: 122.4 kB / 0.7122 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.6659, allocations: 1.795 MB / 0.714 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006269/0.6666, allocations: 74.34 kB / 0.714 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/0.6666, allocations: 22.17 kB / 0.7141 GB, free: 5.25 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.0006269/0.6672, allocations: 381.1 kB / 0.7144 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002574/0.6675, allocations: 136.9 kB / 0.7146 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000618/0.6681, allocations: 342.2 kB / 0.7149 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.6681, allocations: 2.828 kB / 0.7149 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.6681, allocations: 9.719 kB / 0.7149 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.6681, allocations: 3.938 kB / 0.7149 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.6691, allocations: 0.7009 MB / 0.7156 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.6692, allocations: 6.297 kB / 0.7156 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003836/0.6695, allocations: 75.14 kB / 0.7157 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.6695, allocations: 2.906 kB / 0.7157 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.6696, allocations: 3.812 kB / 0.7157 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.6707, allocations: 1.785 MB / 0.7174 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.6707, allocations: 3.938 kB / 0.7174 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00077/0.6715, allocations: 497.9 kB / 0.7179 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/0.6719, allocations: 264 kB / 0.7181 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.672, allocations: 6.906 kB / 0.7182 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005014/0.6725, allocations: 21.95 kB / 0.7182 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.6726, allocations: 9.047 kB / 0.7182 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.613e-05/0.6726, allocations: 27.53 kB / 0.7182 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002089/0.6747, allocations: 1.359 MB / 0.7195 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6747, allocations: 4.062 kB / 0.7195 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001031/0.6757, allocations: 234.7 kB / 0.7198 GB, free: 1.621 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.002941/0.6787, allocations: 1.431 MB / 0.7212 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000938/0.6796, allocations: 263.8 kB / 0.7214 GB, free: 400 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.6796, allocations: 4.125 kB / 0.7214 GB, free: 396 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002985/0.6799, allocations: 106.4 kB / 0.7215 GB, free: 356 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/0.6818, allocations: 392.8 kB / 0.7219 GB, free: 132 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/0.6966, allocations: 10.85 MB / 0.7325 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008729/0.6975, allocations: 1.114 MB / 0.7336 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007168/0.6982, allocations: 224.6 kB / 0.7338 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005355/0.6987, allocations: 407.2 kB / 0.7342 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of SimCode: time 1.513e-06/0.6987, allocations: 0 / 0.7342 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06839/0.7671, allocations: 30.02 MB / 0.7635 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.65/15.42, allocations: 11.98 kB / 0.7635 GB, free: 8.801 MB / 0.5606 GB " [Timeout remaining time 644] (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.861930518003646] Failed to read output from testmodel.py, exit status != 0: 15.644856986997183 15.668388842 15.019216219 Calling exit ...