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.001253/0.001253, allocations: 106 kB / 17.06 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.001368/0.001368, allocations: 195 kB / 18 MB, free: 5.094 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.279/1.279, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2486/0.2486, allocations: 48.85 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.001311/0.001311, allocations: 67.89 kB / 450 MB, free: 9.078 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0938/0.09512, allocations: 59.16 MB / 0.4972 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.3608/0.4559, allocations: 170.6 MB / 0.6639 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004845/0.4608, allocations: 3.895 MB / 0.6677 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000342/0.4612, allocations: 7.938 kB / 0.6677 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007392/0.4619, allocations: 278.3 kB / 0.668 GB, free: 11.78 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.0009071/0.4629, allocations: 0.5678 MB / 0.6685 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003492/0.4664, allocations: 1.635 MB / 0.6701 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001279/0.4677, allocations: 1.323 MB / 0.6714 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004968/0.4682, allocations: 421.4 kB / 0.6718 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006206/0.4688, allocations: 0.5139 MB / 0.6723 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005432/0.4693, allocations: 0.5255 MB / 0.6728 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.206e-05/0.4694, allocations: 60 kB / 0.6729 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.4707, allocations: 0.6821 MB / 0.6735 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003524/0.4711, allocations: 474.8 kB / 0.674 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004628/0.4716, allocations: 0.5515 MB / 0.6745 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.4731, allocations: 1.569 MB / 0.6761 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4731, allocations: 3.984 kB / 0.6761 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4731, allocations: 4 kB / 0.6761 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.4732, allocations: 0 / 0.6761 GB, free: 3.441 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.002012/0.4752, allocations: 1.491 MB / 0.6775 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.4752, allocations: 11.89 kB / 0.6775 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.4753, allocations: 106.5 kB / 0.6776 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006526/0.476, allocations: 186.2 kB / 0.6778 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.4772, allocations: 0.8629 MB / 0.6787 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.4773, allocations: 37.31 kB / 0.6787 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.279e-05/0.4773, allocations: 48 kB / 0.6787 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008862/0.4782, allocations: 0.6316 MB / 0.6794 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.4782, allocations: 4.688 kB / 0.6794 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-05/0.4783, allocations: 23.94 kB / 0.6794 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.4783, allocations: 12 kB / 0.6794 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006589/0.479, allocations: 0.4892 MB / 0.6799 GB, free: 15.41 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.003808/0.4828, allocations: 2.561 MB / 0.6824 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.4831, allocations: 190.6 kB / 0.6826 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.4833, allocations: 80.83 kB / 0.6826 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002451/0.4835, allocations: 117 kB / 0.6828 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.4836, allocations: 44.09 kB / 0.6828 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=20): time 1.994e-06/0.4836, allocations: 0 / 0.6828 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20): time 0.0006046/0.4842, allocations: 356.4 kB / 0.6831 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.4842, allocations: 51.41 kB / 0.6832 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.4862, allocations: 1.903 MB / 0.685 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.4862, allocations: 33.7 kB / 0.6851 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004415/0.4866, allocations: 0.5754 MB / 0.6856 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.836e-05/0.4867, allocations: 67.02 kB / 0.6857 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.4868, allocations: 81.97 kB / 0.6858 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.487, allocations: 329.9 kB / 0.6861 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.4872, allocations: 134.5 kB / 0.6862 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.4874, allocations: 238.5 kB / 0.6864 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.4878, allocations: 333.5 kB / 0.6868 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.4878, allocations: 0 / 0.6868 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007237/0.4885, allocations: 0.5078 MB / 0.6873 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4886, allocations: 19.88 kB / 0.6873 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.4886, allocations: 4 kB / 0.6873 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.4886, allocations: 4 kB / 0.6873 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005458/0.4892, allocations: 116.8 kB / 0.6874 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007957/0.49, allocations: 1.789 MB / 0.6891 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/0.4904, allocations: 71.17 kB / 0.6892 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/0.4905, allocations: 27.97 kB / 0.6892 GB, free: 5.398 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.000418/0.4909, allocations: 384.2 kB / 0.6896 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.4911, allocations: 126.5 kB / 0.6897 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004902/0.4916, allocations: 341.8 kB / 0.6901 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4916, allocations: 0 / 0.6901 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4916, allocations: 0 / 0.6901 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4916, allocations: 0 / 0.6901 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007235/0.4923, allocations: 0.7203 MB / 0.6908 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4923, allocations: 0 / 0.6908 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000341/0.4927, allocations: 71.89 kB / 0.6908 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4927, allocations: 0 / 0.6908 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.4927, allocations: 8 kB / 0.6908 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007317/0.4935, allocations: 1.782 MB / 0.6926 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4935, allocations: 5.875 kB / 0.6926 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005688/0.494, allocations: 496.4 kB / 0.6931 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000405/0.4945, allocations: 247.5 kB / 0.6933 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.4946, allocations: 4 kB / 0.6933 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004329/0.495, allocations: 23.92 kB / 0.6933 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.4951, allocations: 15.97 kB / 0.6933 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.4951, allocations: 24.11 kB / 0.6934 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00147/0.4966, allocations: 1.358 MB / 0.6947 GB, free: 15.65 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4966, allocations: 0 / 0.6947 GB, free: 15.65 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006797/0.4973, allocations: 239.8 kB / 0.6949 GB, free: 15.42 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.001851/0.4991, allocations: 1.424 MB / 0.6963 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006135/0.4998, allocations: 287.8 kB / 0.6966 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4998, allocations: 4 kB / 0.6966 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.5001, allocations: 115.8 kB / 0.6967 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.5016, allocations: 389.8 kB / 0.6971 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/0.5131, allocations: 10.81 MB / 0.7076 GB, free: 2.164 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.5137, allocations: 1.106 MB / 0.7087 GB, free: 1.027 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005551/0.5143, allocations: 228.6 kB / 0.7089 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/0.5147, allocations: 399.3 kB / 0.7093 GB, free: 420 kB / 0.545 GB Notification: Performance of SimCode: time 8.12e-07/0.5147, allocations: 3.938 kB / 0.7093 GB, free: 416 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05167/0.5664, allocations: 29.54 MB / 0.7381 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.16, allocations: 4.656 kB / 0.7382 GB, free: 2.766 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)