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.001304/0.001304, allocations: 115.8 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.001408/0.001408, allocations: 213.1 kB / 23.75 MB, free: 4.668 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.447/1.447, allocations: 207.6 MB / 234.5 MB, free: 9.996 MB / 190.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.3073/0.3073, allocations: 49.57 MB / 336.3 MB, free: 4.109 MB / 270.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="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.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.002458/0.002458, allocations: 71.89 kB / 476.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1303, allocations: 62.42 MB / 0.5261 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.4358/0.566, allocations: 171.3 MB / 0.6935 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005642/0.5717, allocations: 3.937 MB / 0.6973 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004992/0.5722, allocations: 7.938 kB / 0.6973 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008757/0.5731, allocations: 278.3 kB / 0.6976 GB, free: 6.523 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.00111/0.5742, allocations: 0.5833 MB / 0.6981 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004072/0.5782, allocations: 1.678 MB / 0.6998 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001772/0.58, allocations: 1.352 MB / 0.7011 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005458/0.5806, allocations: 365.8 kB / 0.7014 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000756/0.5813, allocations: 0.5372 MB / 0.702 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007441/0.5821, allocations: 0.5685 MB / 0.7025 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.554e-05/0.5821, allocations: 56 kB / 0.7026 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.5838, allocations: 0.7289 MB / 0.7033 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004511/0.5842, allocations: 486.6 kB / 0.7038 GB, free: 172 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005683/0.5848, allocations: 0.5477 MB / 0.7043 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.5869, allocations: 1.575 MB / 0.7058 GB, free: 14.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.5869, allocations: 3.938 kB / 0.7058 GB, free: 14.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.086e-06/0.5869, allocations: 4 kB / 0.7058 GB, free: 14.03 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.5869, allocations: 0 / 0.7058 GB, free: 14.03 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002351/0.5893, allocations: 1.465 MB / 0.7073 GB, free: 12.53 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.5893, allocations: 12.03 kB / 0.7073 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/0.5895, allocations: 102.5 kB / 0.7074 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006979/0.5902, allocations: 187 kB / 0.7076 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.5915, allocations: 0.8138 MB / 0.7083 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/0.5916, allocations: 41.31 kB / 0.7084 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.106e-05/0.5916, allocations: 48 kB / 0.7084 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.5927, allocations: 0.6237 MB / 0.709 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.5927, allocations: 7.984 kB / 0.7091 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-05/0.5927, allocations: 31.94 kB / 0.7091 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.5928, allocations: 12 kB / 0.7091 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007627/0.5935, allocations: 0.49 MB / 0.7096 GB, free: 10.11 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.004358/0.5979, allocations: 2.339 MB / 0.7119 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.5982, allocations: 190.5 kB / 0.712 GB, free: 7.465 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.5983, allocations: 80.81 kB / 0.7121 GB, free: 7.383 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002327/0.5986, allocations: 27.95 kB / 0.7121 GB, free: 7.355 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.5986, allocations: 38.56 kB / 0.7122 GB, free: 7.309 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 2.104e-06/0.5986, allocations: 0 / 0.7122 GB, free: 7.309 MB / 0.545 GB Notification: Performance of matching and sorting (n=20): time 0.0007286/0.5993, allocations: 369 kB / 0.7125 GB, free: 6.941 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.5994, allocations: 59.34 kB / 0.7126 GB, free: 6.871 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/0.6017, allocations: 1.903 MB / 0.7144 GB, free: 4.949 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/0.6017, allocations: 33.7 kB / 0.7145 GB, free: 4.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000534/0.6022, allocations: 0.5799 MB / 0.715 GB, free: 4.328 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.6023, allocations: 75.38 kB / 0.7151 GB, free: 4.254 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.6024, allocations: 78.02 kB / 0.7152 GB, free: 4.172 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.6026, allocations: 325.9 kB / 0.7155 GB, free: 3.848 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.6028, allocations: 142.6 kB / 0.7156 GB, free: 3.703 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.6031, allocations: 234.4 kB / 0.7159 GB, free: 3.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004702/0.6036, allocations: 339.3 kB / 0.7162 GB, free: 3.051 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.6036, allocations: 0 / 0.7162 GB, free: 3.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008426/0.6044, allocations: 0.512 MB / 0.7167 GB, free: 2.531 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.6045, allocations: 8 kB / 0.7167 GB, free: 2.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.6045, allocations: 4 kB / 0.7167 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.6045, allocations: 7.984 kB / 0.7167 GB, free: 2.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/0.6051, allocations: 116.3 kB / 0.7168 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/0.6062, allocations: 1.789 MB / 0.7186 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/0.6067, allocations: 76.98 kB / 0.7186 GB, free: 476 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.313e-05/0.6067, allocations: 27.92 kB / 0.7187 GB, free: 448 kB / 0.545 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.000594/0.6073, allocations: 377.6 kB / 0.719 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.6075, allocations: 127.3 kB / 0.7191 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005681/0.6081, allocations: 346.6 kB / 0.7195 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.6081, allocations: 0 / 0.7195 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6081, allocations: 4 kB / 0.7195 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.6081, allocations: 0 / 0.7195 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009084/0.609, allocations: 0.6901 MB / 0.7202 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.609, allocations: 3.625 kB / 0.7202 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/0.6094, allocations: 67.95 kB / 0.7202 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.6094, allocations: 11.88 kB / 0.7202 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.6094, allocations: 4 kB / 0.7202 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.6105, allocations: 1.781 MB / 0.722 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6105, allocations: 3.938 kB / 0.722 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006691/0.6112, allocations: 0.4902 MB / 0.7225 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003939/0.6115, allocations: 175.1 kB / 0.7226 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.6117, allocations: 4 kB / 0.7226 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.6121, allocations: 23.92 kB / 0.7226 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.6121, allocations: 11.97 kB / 0.7227 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/0.6122, allocations: 19.98 kB / 0.7227 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001691/0.6139, allocations: 1.362 MB / 0.724 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.6139, allocations: 0 / 0.724 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007734/0.6146, allocations: 243.5 kB / 0.7242 GB, free: 10.57 MB / 0.5606 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.002654/0.6173, allocations: 1.432 MB / 0.7256 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007644/0.618, allocations: 272.4 kB / 0.7259 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6181, allocations: 0 / 0.7259 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002781/0.6183, allocations: 111.9 kB / 0.726 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/0.62, allocations: 388.1 kB / 0.7264 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01489/0.6349, allocations: 10.86 MB / 0.737 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008301/0.6357, allocations: 1.102 MB / 0.7381 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007382/0.6365, allocations: 236.5 kB / 0.7383 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005145/0.637, allocations: 407.3 kB / 0.7387 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of SimCode: time 1.203e-06/0.637, allocations: 0 / 0.7387 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2865/0.9235, allocations: 30.28 MB / 0.7682 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/15.4, allocations: 7.203 kB / 0.7682 GB, free: 206.1 MB / 0.5919 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.465338001959026] Failed to read output from testmodel.py, exit status != 0: 15.587453260784969 15.603662449 15.013810427 Calling exit ...