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.001006/0.001006, allocations: 110.3 kB / 16.92 MB, free: 6.332 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.0009745/0.0009744, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.243/1.243, allocations: 205.1 MB / 223.7 MB, free: 12.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2469/0.2469, allocations: 48.84 MB / 319.9 MB, free: 11.09 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.001458/0.001458, allocations: 66.25 kB / 390.2 MB, free: 48.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0787/0.08017, allocations: 59.15 MB / 449.3 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.3367/0.4169, allocations: 170.6 MB / 0.6054 GB, free: 5.176 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004527/0.4214, allocations: 3.901 MB / 0.6092 GB, free: 2.023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004078/0.4219, allocations: 15.34 kB / 0.6092 GB, free: 2.016 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007433/0.4226, allocations: 276.7 kB / 0.6095 GB, free: 1.785 MB / 430.1 MB [/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.0008837/0.4236, allocations: 0.5573 MB / 0.6101 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003278/0.4269, allocations: 1.652 MB / 0.6117 GB, free: 200 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001195/0.4281, allocations: 1.317 MB / 0.613 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004117/0.4285, allocations: 398.2 kB / 0.6133 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004985/0.429, allocations: 0.5124 MB / 0.6138 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00046/0.4295, allocations: 0.5199 MB / 0.6143 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.903e-05/0.4296, allocations: 58.09 kB / 0.6144 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002252/0.4318, allocations: 1.437 MB / 0.6158 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003278/0.4322, allocations: 467.6 kB / 0.6162 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004384/0.4326, allocations: 0.5485 MB / 0.6168 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.4346, allocations: 1.926 MB / 0.6187 GB, free: 12.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4346, allocations: 0 / 0.6187 GB, free: 12.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4346, allocations: 4 kB / 0.6187 GB, free: 12.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.4347, allocations: 0 / 0.6187 GB, free: 12.09 MB / 446.1 MB 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.002046/0.4367, allocations: 1.543 MB / 0.6202 GB, free: 10.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.4368, allocations: 12.11 kB / 0.6202 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.4369, allocations: 106.6 kB / 0.6203 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006941/0.4376, allocations: 187.3 kB / 0.6205 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.4386, allocations: 0.8553 MB / 0.6213 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.4387, allocations: 37.56 kB / 0.6213 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.455e-05/0.4388, allocations: 49.03 kB / 0.6214 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008688/0.4396, allocations: 0.6125 MB / 0.622 GB, free: 9.688 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.4397, allocations: 0 / 0.622 GB, free: 9.688 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.815e-05/0.4397, allocations: 31.94 kB / 0.622 GB, free: 9.656 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.4397, allocations: 12 kB / 0.622 GB, free: 9.645 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006699/0.4404, allocations: 476.9 kB / 0.6225 GB, free: 9.18 MB / 446.1 MB 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.004065/0.4445, allocations: 2.617 MB / 0.625 GB, free: 6.395 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.4448, allocations: 133.2 kB / 0.6252 GB, free: 6.258 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.332e-05/0.4448, allocations: 56.84 kB / 0.6252 GB, free: 6.199 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002385/0.4451, allocations: 121 kB / 0.6253 GB, free: 6.062 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.4451, allocations: 46.5 kB / 0.6254 GB, free: 6.008 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/0.4452, allocations: 0 / 0.6254 GB, free: 6.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005424/0.4457, allocations: 284.1 kB / 0.6256 GB, free: 5.723 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.4457, allocations: 55.41 kB / 0.6257 GB, free: 5.656 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/0.4477, allocations: 1.927 MB / 0.6276 GB, free: 3.711 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.4478, allocations: 33.7 kB / 0.6276 GB, free: 3.672 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/0.4482, allocations: 0.579 MB / 0.6282 GB, free: 3.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.4482, allocations: 55.28 kB / 0.6282 GB, free: 3.035 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.4484, allocations: 85.59 kB / 0.6283 GB, free: 2.945 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.499e-05/0.4484, allocations: 318 kB / 0.6286 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.4486, allocations: 125.5 kB / 0.6287 GB, free: 2.504 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.4489, allocations: 243.4 kB / 0.629 GB, free: 2.203 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.4493, allocations: 343 kB / 0.6293 GB, free: 1.805 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4493, allocations: 7.938 kB / 0.6293 GB, free: 1.797 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007433/0.45, allocations: 497 kB / 0.6298 GB, free: 1.305 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.4501, allocations: 8.562 kB / 0.6298 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.4501, allocations: 8 kB / 0.6298 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.4501, allocations: 11.94 kB / 0.6298 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005116/0.4506, allocations: 111.8 kB / 0.6299 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005743/0.4512, allocations: 1.184 MB / 0.6311 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005105/0.4517, allocations: 85.45 kB / 0.6311 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/0.4518, allocations: 24 kB / 0.6312 GB, free: 15.83 MB / 462.1 MB 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.0004759/0.4523, allocations: 374.5 kB / 0.6315 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.4524, allocations: 122.5 kB / 0.6316 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003915/0.4528, allocations: 276.9 kB / 0.6319 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4529, allocations: 0 / 0.6319 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4529, allocations: 4 kB / 0.6319 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.4529, allocations: 3.938 kB / 0.6319 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007705/0.4536, allocations: 0.68 MB / 0.6326 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4537, allocations: 0 / 0.6326 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.4539, allocations: 49.2 kB / 0.6326 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4539, allocations: 0 / 0.6326 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.454, allocations: 8 kB / 0.6326 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005816/0.4545, allocations: 1.188 MB / 0.6338 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4546, allocations: 0 / 0.6338 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005258/0.4551, allocations: 405 kB / 0.6342 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003637/0.4555, allocations: 251.5 kB / 0.6344 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.4556, allocations: 4.859 kB / 0.6344 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004983/0.4562, allocations: 24.14 kB / 0.6345 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.4562, allocations: 11.92 kB / 0.6345 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-05/0.4562, allocations: 15.98 kB / 0.6345 GB, free: 12.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001796/0.458, allocations: 1.37 MB / 0.6358 GB, free: 10.92 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4581, allocations: 0 / 0.6358 GB, free: 10.92 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008371/0.4589, allocations: 239.8 kB / 0.636 GB, free: 10.68 MB / 462.1 MB 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.002231/0.4611, allocations: 1.384 MB / 0.6374 GB, free: 9.281 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006581/0.4618, allocations: 268.7 kB / 0.6377 GB, free: 9.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4618, allocations: 4.062 kB / 0.6377 GB, free: 9.016 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.462, allocations: 75.95 kB / 0.6377 GB, free: 8.941 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.4636, allocations: 344.4 kB / 0.6381 GB, free: 8.602 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/0.4777, allocations: 11.77 MB / 0.6496 GB, free: 12.38 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006436/0.4784, allocations: 1.102 MB / 0.6506 GB, free: 11.25 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006754/0.4791, allocations: 224.5 kB / 0.6508 GB, free: 11.03 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/0.4796, allocations: 403.3 kB / 0.6512 GB, free: 10.63 MB / 478.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4796, allocations: 0 / 0.6512 GB, free: 10.63 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05415/0.5337, allocations: 28.74 MB / 0.6793 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.45, allocations: 11.88 kB / 0.6793 GB, free: 13.77 MB / 0.4981 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)