Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.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.TestCompressorConstSpeed,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed",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.001128/0.001128, allocations: 110.7 kB / 17.06 MB, free: 5.996 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.001138/0.001138, allocations: 200 kB / 18.01 MB, free: 5.066 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.319/1.319, 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.2791/0.2791, allocations: 48.85 MB / 320.1 MB, free: 11 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.001513/0.001513, allocations: 75.89 kB / 450 MB, free: 9.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1178, allocations: 59.15 MB / 0.4972 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.4284/0.5463, allocations: 170.6 MB / 0.6639 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005738/0.552, allocations: 3.903 MB / 0.6677 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006268/0.5527, allocations: 11.94 kB / 0.6677 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.5539, allocations: 278.3 kB / 0.668 GB, free: 11.74 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.001559/0.5556, allocations: 0.5716 MB / 0.6685 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005115/0.5607, allocations: 1.64 MB / 0.6701 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002005/0.5627, allocations: 1.327 MB / 0.6714 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008504/0.5636, allocations: 401.5 kB / 0.6718 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.5648, allocations: 0.5287 MB / 0.6723 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009188/0.5658, allocations: 0.5216 MB / 0.6728 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.566, allocations: 56 kB / 0.6729 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003318/0.5693, allocations: 1.435 MB / 0.6743 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005022/0.5698, allocations: 466.8 kB / 0.6747 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008992/0.5707, allocations: 0.5438 MB / 0.6753 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003585/0.5743, allocations: 1.947 MB / 0.6772 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5743, allocations: 0 / 0.6772 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5743, allocations: 0 / 0.6772 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.805e-05/0.5744, allocations: 0 / 0.6772 GB, free: 2.301 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002967/0.5774, allocations: 1.594 MB / 0.6787 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.5774, allocations: 11.89 kB / 0.6787 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001797/0.5776, allocations: 98.45 kB / 0.6788 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000947/0.5786, allocations: 191 kB / 0.679 GB, free: 356 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.5802, allocations: 0.8794 MB / 0.6799 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/0.5803, allocations: 41.31 kB / 0.6799 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.833e-05/0.5804, allocations: 48 kB / 0.6799 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.5816, allocations: 0.6158 MB / 0.6805 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.5816, allocations: 0 / 0.6805 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.527e-05/0.5817, allocations: 31.94 kB / 0.6806 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.5817, allocations: 12 kB / 0.6806 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008622/0.5826, allocations: 476.9 kB / 0.681 GB, free: 14.19 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.005099/0.5877, allocations: 2.583 MB / 0.6836 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.5879, allocations: 139.7 kB / 0.6837 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.5881, allocations: 52.84 kB / 0.6837 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002725/0.5883, allocations: 133 kB / 0.6839 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.5884, allocations: 38.56 kB / 0.6839 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.5884, allocations: 0 / 0.6839 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0006742/0.5891, allocations: 296.7 kB / 0.6842 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.5891, allocations: 51.41 kB / 0.6842 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002667/0.5918, allocations: 1.927 MB / 0.6861 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/0.5919, allocations: 29.7 kB / 0.6862 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005103/0.5924, allocations: 0.5992 MB / 0.6867 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.573e-05/0.5925, allocations: 55.61 kB / 0.6868 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.5926, allocations: 73.66 kB / 0.6869 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5927, allocations: 326 kB / 0.6872 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.593, allocations: 126.1 kB / 0.6873 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.5933, allocations: 243.4 kB / 0.6875 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.5938, allocations: 333.7 kB / 0.6878 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.5938, allocations: 4 kB / 0.6878 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001044/0.5949, allocations: 0.498 MB / 0.6883 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.5949, allocations: 11.94 kB / 0.6883 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.5949, allocations: 7.938 kB / 0.6883 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-05/0.595, allocations: 11.94 kB / 0.6884 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005534/0.5955, allocations: 107.8 kB / 0.6885 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008095/0.5963, allocations: 1.197 MB / 0.6896 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005769/0.5969, allocations: 75.33 kB / 0.6897 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.284e-05/0.597, allocations: 27.98 kB / 0.6897 GB, free: 4.84 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006433/0.5977, allocations: 377.5 kB / 0.6901 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002826/0.5979, allocations: 127.2 kB / 0.6902 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005214/0.5985, allocations: 273 kB / 0.6905 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.5985, allocations: 3.984 kB / 0.6905 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.5985, allocations: 3.984 kB / 0.6905 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.5985, allocations: 7.938 kB / 0.6905 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.5996, allocations: 0.6838 MB / 0.6912 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.5996, allocations: 0 / 0.6912 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002763/0.5999, allocations: 54.28 kB / 0.6912 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.5999, allocations: 0 / 0.6912 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.5999, allocations: 4 kB / 0.6912 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007559/0.6007, allocations: 1.188 MB / 0.6924 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6007, allocations: 0 / 0.6924 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005814/0.6013, allocations: 413.1 kB / 0.6928 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004611/0.6018, allocations: 256.5 kB / 0.693 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.6019, allocations: 4 kB / 0.693 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004973/0.6024, allocations: 15.98 kB / 0.693 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.6025, allocations: 11.98 kB / 0.693 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/0.6025, allocations: 11.98 kB / 0.6931 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002009/0.6046, allocations: 1.378 MB / 0.6944 GB, free: 15.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.91e-07/0.6046, allocations: 0 / 0.6944 GB, free: 15.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008711/0.6054, allocations: 243.5 kB / 0.6946 GB, free: 15.66 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ConstantSpeed1.phi) * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002224/0.6077, allocations: 1.394 MB / 0.696 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006483/0.6083, allocations: 255.8 kB / 0.6962 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6084, allocations: 0 / 0.6962 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.6086, allocations: 67.91 kB / 0.6963 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.6103, allocations: 374.5 kB / 0.6967 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/0.6248, allocations: 10.72 MB / 0.7071 GB, free: 2.586 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007925/0.6257, allocations: 1.106 MB / 0.7082 GB, free: 1.449 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006839/0.6264, allocations: 216.6 kB / 0.7084 GB, free: 1.234 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005083/0.6269, allocations: 399.3 kB / 0.7088 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of SimCode: time 8.71e-07/0.6269, allocations: 0 / 0.7088 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06172/0.6886, allocations: 29.55 MB / 0.7376 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.08, allocations: 0 / 0.7376 GB, free: 3.207 MB / 0.5762 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.sim & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1)