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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 113 kB / 17.07 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 189.4 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.1 MB / 223.9 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3129/0.3129, allocations: 48.84 MB / 320.1 MB, free: 11.02 MB / 270.1 MB 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.002118/0.002118, allocations: 71.89 kB / 450 MB, free: 9.074 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1147, allocations: 59.15 MB / 0.4972 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.401/0.5157, allocations: 170.6 MB / 0.6639 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005894/0.5216, allocations: 3.901 MB / 0.6677 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005022/0.5222, allocations: 8 kB / 0.6677 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009332/0.5232, allocations: 282.2 kB / 0.668 GB, free: 11.76 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.001252/0.5244, allocations: 0.5677 MB / 0.6685 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004137/0.5286, allocations: 1.634 MB / 0.6701 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00172/0.5303, allocations: 1.323 MB / 0.6714 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005774/0.5309, allocations: 421.4 kB / 0.6718 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000682/0.5316, allocations: 0.5256 MB / 0.6723 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006398/0.5322, allocations: 0.5139 MB / 0.6728 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.5324, allocations: 60 kB / 0.6729 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.5339, allocations: 0.686 MB / 0.6736 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000432/0.5343, allocations: 470.7 kB / 0.674 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005745/0.5349, allocations: 0.5516 MB / 0.6745 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.5369, allocations: 1.577 MB / 0.6761 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.5369, allocations: 0 / 0.6761 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5369, allocations: 0 / 0.6761 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.5369, allocations: 0 / 0.6761 GB, free: 3.434 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.002312/0.5393, allocations: 1.548 MB / 0.6776 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5393, allocations: 11.89 kB / 0.6776 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001379/0.5394, allocations: 98.45 kB / 0.6777 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007124/0.5402, allocations: 195 kB / 0.6779 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.5414, allocations: 0.8717 MB / 0.6787 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.723e-05/0.5415, allocations: 37.31 kB / 0.6788 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-05/0.5416, allocations: 52 kB / 0.6788 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.5427, allocations: 0.6354 MB / 0.6794 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.5427, allocations: 0 / 0.6794 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.869e-05/0.5428, allocations: 27.94 kB / 0.6795 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.5428, allocations: 12 kB / 0.6795 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007908/0.5436, allocations: 493 kB / 0.68 GB, free: 15.34 MB / 0.5294 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.004205/0.5478, allocations: 2.562 MB / 0.6825 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.5482, allocations: 202.6 kB / 0.6826 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.5483, allocations: 76.83 kB / 0.6827 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002686/0.5486, allocations: 109.1 kB / 0.6828 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.5487, allocations: 44.5 kB / 0.6829 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=20): time 1.743e-06/0.5487, allocations: 0 / 0.6829 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20): time 0.0007327/0.5494, allocations: 365.1 kB / 0.6832 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.5495, allocations: 55.41 kB / 0.6833 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/0.5519, allocations: 1.903 MB / 0.6851 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.319e-05/0.552, allocations: 33.7 kB / 0.6852 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005728/0.5526, allocations: 0.5798 MB / 0.6857 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.742e-05/0.5526, allocations: 75.36 kB / 0.6858 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.5528, allocations: 86.02 kB / 0.6859 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5529, allocations: 325.9 kB / 0.6862 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.5532, allocations: 138.6 kB / 0.6863 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.5535, allocations: 226.5 kB / 0.6865 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.554, allocations: 341.4 kB / 0.6869 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.554, allocations: 0 / 0.6869 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009268/0.5549, allocations: 0.512 MB / 0.6874 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.5549, allocations: 12.28 kB / 0.6874 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.555, allocations: 4 kB / 0.6874 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.555, allocations: 12 kB / 0.6874 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005947/0.5556, allocations: 121.1 kB / 0.6875 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.5568, allocations: 1.789 MB / 0.6893 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/0.5573, allocations: 71.44 kB / 0.6893 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/0.5573, allocations: 19.94 kB / 0.6893 GB, free: 5.301 MB / 0.5294 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.0005137/0.5579, allocations: 393.5 kB / 0.6897 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.5581, allocations: 131.2 kB / 0.6898 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005647/0.5587, allocations: 339.5 kB / 0.6902 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.5587, allocations: 0 / 0.6902 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5587, allocations: 0.875 kB / 0.6902 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.5587, allocations: 7.984 kB / 0.6902 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008815/0.5596, allocations: 0.7107 MB / 0.6909 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5596, allocations: 0 / 0.6909 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003703/0.56, allocations: 77 kB / 0.6909 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.56, allocations: 4 kB / 0.6909 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.56, allocations: 0 / 0.6909 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.5611, allocations: 1.785 MB / 0.6927 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.5611, allocations: 6.312 kB / 0.6927 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006773/0.5618, allocations: 0.4935 MB / 0.6932 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/0.5621, allocations: 252.2 kB / 0.6934 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.5622, allocations: 8 kB / 0.6934 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004465/0.5627, allocations: 23.92 kB / 0.6934 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.5627, allocations: 7.984 kB / 0.6935 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.441e-05/0.5627, allocations: 23.97 kB / 0.6935 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001757/0.5645, allocations: 1.362 MB / 0.6948 GB, free: 15.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5645, allocations: 0 / 0.6948 GB, free: 15.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007229/0.5652, allocations: 235.6 kB / 0.695 GB, free: 15.29 MB / 0.545 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.002585/0.5678, allocations: 1.424 MB / 0.6964 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007283/0.5686, allocations: 292.4 kB / 0.6967 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5686, allocations: 0 / 0.6967 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.5689, allocations: 107.9 kB / 0.6968 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.5707, allocations: 385.1 kB / 0.6972 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/0.5852, allocations: 10.86 MB / 0.7078 GB, free: 2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008507/0.5861, allocations: 1.114 MB / 0.7089 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006872/0.5868, allocations: 232.6 kB / 0.7091 GB, free: 0.625 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005202/0.5873, allocations: 399.3 kB / 0.7095 GB, free: 240 kB / 0.545 GB Notification: Performance of SimCode: time 8.92e-07/0.5873, allocations: 3.938 kB / 0.7095 GB, free: 236 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06655/0.6539, allocations: 29.86 MB / 0.7386 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.61, allocations: 4.656 kB / 0.7386 GB, free: 2.273 MB / 0.5762 GB (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 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1)