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.001218/0.001218, allocations: 103.6 kB / 17.06 MB, free: 6.145 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.001163/0.001163, allocations: 195 kB / 18 MB, free: 5.219 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.38/1.38, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2828/0.2828, 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.001609/0.001609, allocations: 71.89 kB / 450 MB, free: 9.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1166, 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.3859/0.5026, allocations: 170.6 MB / 0.6639 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005589/0.5082, allocations: 3.901 MB / 0.6677 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007608/0.509, allocations: 8 kB / 0.6677 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.5102, allocations: 278.2 kB / 0.668 GB, free: 11.75 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.001493/0.5117, allocations: 0.5678 MB / 0.6685 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004324/0.5161, allocations: 1.635 MB / 0.6701 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001982/0.5181, allocations: 1.323 MB / 0.6714 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007774/0.5189, allocations: 413.5 kB / 0.6718 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.5199, allocations: 0.5334 MB / 0.6723 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007584/0.5207, allocations: 0.5138 MB / 0.6728 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.5209, allocations: 60 kB / 0.6729 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.5224, allocations: 0.686 MB / 0.6736 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004555/0.5229, allocations: 474.7 kB / 0.674 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00086/0.5238, allocations: 0.5555 MB / 0.6745 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002255/0.526, allocations: 1.573 MB / 0.6761 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.526, allocations: 3.938 kB / 0.6761 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5261, allocations: 0 / 0.6761 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.352e-05/0.5261, allocations: 0 / 0.6761 GB, free: 3.41 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.002608/0.5287, allocations: 1.499 MB / 0.6776 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.5288, allocations: 11.89 kB / 0.6776 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.5289, allocations: 98.45 kB / 0.6777 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000834/0.5298, allocations: 190.2 kB / 0.6778 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.5311, allocations: 0.8629 MB / 0.6787 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.5311, allocations: 37.31 kB / 0.6787 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.449e-05/0.5312, allocations: 52 kB / 0.6788 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009673/0.5322, allocations: 0.6238 MB / 0.6794 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.5322, allocations: 4.625 kB / 0.6794 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.398e-05/0.5323, allocations: 27.94 kB / 0.6794 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.5323, allocations: 12 kB / 0.6794 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007227/0.533, allocations: 497 kB / 0.6799 GB, free: 15.38 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.004228/0.5373, allocations: 2.561 MB / 0.6824 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.5376, allocations: 194.5 kB / 0.6826 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.5378, allocations: 80.88 kB / 0.6827 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002824/0.5381, allocations: 109.1 kB / 0.6828 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.5381, allocations: 44.16 kB / 0.6828 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=20): time 2.354e-06/0.5381, allocations: 0 / 0.6828 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20): time 0.0006946/0.5388, allocations: 356.4 kB / 0.6831 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.5389, allocations: 55.41 kB / 0.6832 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.541, allocations: 1.903 MB / 0.6851 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/0.5411, allocations: 33.7 kB / 0.6851 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004384/0.5416, allocations: 0.5754 MB / 0.6856 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.235e-05/0.5416, allocations: 67 kB / 0.6857 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.5418, allocations: 81.97 kB / 0.6858 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.741e-05/0.5419, allocations: 329.8 kB / 0.6861 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.5421, allocations: 138.6 kB / 0.6862 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.5423, allocations: 230.5 kB / 0.6865 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004189/0.5428, allocations: 341.4 kB / 0.6868 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.5428, allocations: 0 / 0.6868 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008114/0.5436, allocations: 0.5075 MB / 0.6873 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.5436, allocations: 7.906 kB / 0.6873 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.5437, allocations: 4 kB / 0.6873 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.5437, allocations: 8 kB / 0.6873 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/0.5443, allocations: 120.7 kB / 0.6874 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009409/0.5452, allocations: 1.79 MB / 0.6892 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004829/0.5457, allocations: 71.17 kB / 0.6892 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.5458, allocations: 25.62 kB / 0.6892 GB, free: 5.371 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.0004942/0.5463, allocations: 389.5 kB / 0.6896 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.5465, allocations: 127.3 kB / 0.6897 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005436/0.5471, allocations: 337.8 kB / 0.6901 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5471, allocations: 0 / 0.6901 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5471, allocations: 0 / 0.6901 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.5471, allocations: 7.984 kB / 0.6901 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008761/0.548, allocations: 0.7125 MB / 0.6908 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.548, allocations: 0 / 0.6908 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/0.5484, allocations: 71.89 kB / 0.6908 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.5484, allocations: 4 kB / 0.6908 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.5484, allocations: 3.984 kB / 0.6908 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009009/0.5493, allocations: 1.785 MB / 0.6926 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.5494, allocations: 5.875 kB / 0.6926 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000664/0.55, allocations: 496.3 kB / 0.6931 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000341/0.5504, allocations: 239.5 kB / 0.6933 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.5505, allocations: 12.25 kB / 0.6933 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004836/0.551, allocations: 27.91 kB / 0.6933 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.5511, allocations: 7.984 kB / 0.6933 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/0.5511, allocations: 23.97 kB / 0.6934 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00174/0.5529, allocations: 1.354 MB / 0.6947 GB, free: 15.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5529, allocations: 0 / 0.6947 GB, free: 15.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007998/0.5537, allocations: 239.8 kB / 0.6949 GB, free: 15.39 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.002146/0.5558, allocations: 1.433 MB / 0.6963 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007518/0.5566, allocations: 283.6 kB / 0.6966 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5566, allocations: 0 / 0.6966 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002861/0.5569, allocations: 112.7 kB / 0.6967 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.5585, allocations: 396.7 kB / 0.6971 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.572, allocations: 10.8 MB / 0.7076 GB, free: 2.137 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007257/0.5728, allocations: 1.106 MB / 0.7087 GB, free: 1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006373/0.5735, allocations: 228.6 kB / 0.7089 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004895/0.574, allocations: 403.3 kB / 0.7093 GB, free: 388 kB / 0.545 GB Notification: Performance of SimCode: time 6.12e-07/0.574, allocations: 3.938 kB / 0.7093 GB, free: 384 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06061/0.6346, allocations: 30.29 MB / 0.7389 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.36, allocations: 4.656 kB / 0.7389 GB, free: 1.98 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)