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.001146/0.001146, allocations: 105.8 kB / 16.92 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.001127/0.001127, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.289/1.289, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2678/0.2678, allocations: 48.84 MB / 319.9 MB, free: 11.08 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.001684/0.001684, allocations: 64.89 kB / 390.2 MB, free: 48.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08886/0.09056, allocations: 59.17 MB / 449.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.4366/0.5272, allocations: 170.6 MB / 0.6054 GB, free: 5.047 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005972/0.5333, allocations: 3.909 MB / 0.6092 GB, free: 1.883 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006466/0.534, allocations: 5.812 kB / 0.6092 GB, free: 1.883 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009579/0.535, allocations: 278.9 kB / 0.6095 GB, free: 1.652 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.001188/0.5362, allocations: 0.5658 MB / 0.6101 GB, free: 1.234 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004206/0.5404, allocations: 1.65 MB / 0.6117 GB, free: 56 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002091/0.5425, allocations: 1.308 MB / 0.613 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007041/0.5432, allocations: 399 kB / 0.6133 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000938/0.5442, allocations: 0.5182 MB / 0.6138 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006241/0.5448, allocations: 0.5068 MB / 0.6143 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.5449, allocations: 57.91 kB / 0.6144 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.548, allocations: 1.44 MB / 0.6158 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004373/0.5484, allocations: 477.5 kB / 0.6163 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005699/0.549, allocations: 0.5474 MB / 0.6168 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002924/0.5519, allocations: 1.922 MB / 0.6187 GB, free: 11.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.552, allocations: 0 / 0.6187 GB, free: 11.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.552, allocations: 3.938 kB / 0.6187 GB, free: 11.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.01e-05/0.552, allocations: 0 / 0.6187 GB, free: 11.96 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.002252/0.5543, allocations: 1.551 MB / 0.6202 GB, free: 10.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.5543, allocations: 11.67 kB / 0.6202 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/0.5544, allocations: 98.39 kB / 0.6203 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008108/0.5553, allocations: 187.1 kB / 0.6205 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.5565, allocations: 0.8615 MB / 0.6213 GB, free: 9.973 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.5565, allocations: 37.34 kB / 0.6213 GB, free: 9.957 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.43e-05/0.5566, allocations: 52.62 kB / 0.6214 GB, free: 9.938 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.5577, allocations: 0.6173 MB / 0.622 GB, free: 9.492 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.5577, allocations: 0 / 0.622 GB, free: 9.492 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.677e-05/0.5578, allocations: 27.94 kB / 0.622 GB, free: 9.465 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.5578, allocations: 12 kB / 0.622 GB, free: 9.453 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007418/0.5585, allocations: 473 kB / 0.6225 GB, free: 8.992 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.004702/0.5633, allocations: 2.617 MB / 0.625 GB, free: 6.207 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.5635, allocations: 138.6 kB / 0.6252 GB, free: 6.062 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.142e-05/0.5636, allocations: 48.84 kB / 0.6252 GB, free: 6.012 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002655/0.5639, allocations: 125.1 kB / 0.6253 GB, free: 5.871 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.564, allocations: 38.56 kB / 0.6254 GB, free: 5.824 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 2.384e-06/0.564, allocations: 0 / 0.6254 GB, free: 5.824 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005922/0.5646, allocations: 284.1 kB / 0.6256 GB, free: 5.539 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.5646, allocations: 51.41 kB / 0.6257 GB, free: 5.477 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/0.5669, allocations: 1.931 MB / 0.6276 GB, free: 3.527 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.567, allocations: 37.7 kB / 0.6276 GB, free: 3.484 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004923/0.5675, allocations: 0.5867 MB / 0.6282 GB, free: 2.895 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.5676, allocations: 47.36 kB / 0.6282 GB, free: 2.848 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.5677, allocations: 77.59 kB / 0.6283 GB, free: 2.766 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.5678, allocations: 322 kB / 0.6286 GB, free: 2.445 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.568, allocations: 129.5 kB / 0.6287 GB, free: 2.316 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.5683, allocations: 239.5 kB / 0.629 GB, free: 2.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/0.5688, allocations: 346.8 kB / 0.6293 GB, free: 1.617 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.5688, allocations: 4 kB / 0.6293 GB, free: 1.613 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008086/0.5696, allocations: 497.2 kB / 0.6298 GB, free: 1.121 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.5696, allocations: 8 kB / 0.6298 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.5696, allocations: 4 kB / 0.6298 GB, free: 1.109 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.5697, allocations: 11.94 kB / 0.6298 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005536/0.5702, allocations: 111.7 kB / 0.6299 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007415/0.571, allocations: 1.196 MB / 0.6311 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005278/0.5715, allocations: 79.14 kB / 0.6311 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/0.5716, allocations: 16 kB / 0.6312 GB, free: 15.65 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.0006111/0.5722, allocations: 381.4 kB / 0.6315 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.5724, allocations: 126.2 kB / 0.6316 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004684/0.5729, allocations: 278 kB / 0.6319 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5729, allocations: 0 / 0.6319 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5729, allocations: 0 / 0.6319 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.573, allocations: 7.938 kB / 0.6319 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000863/0.5738, allocations: 0.6761 MB / 0.6326 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5738, allocations: 0 / 0.6326 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.5741, allocations: 51.89 kB / 0.6326 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.5741, allocations: 4 kB / 0.6326 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.5742, allocations: 0 / 0.6326 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006117/0.5748, allocations: 1.188 MB / 0.6338 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.5748, allocations: 0 / 0.6338 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000529/0.5753, allocations: 417.1 kB / 0.6342 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003239/0.5757, allocations: 251.6 kB / 0.6344 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.5758, allocations: 3.984 kB / 0.6344 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004415/0.5762, allocations: 19.98 kB / 0.6345 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.5763, allocations: 7.984 kB / 0.6345 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.5763, allocations: 15.98 kB / 0.6345 GB, free: 12.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001679/0.578, allocations: 1.37 MB / 0.6358 GB, free: 10.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.578, allocations: 3.938 kB / 0.6358 GB, free: 10.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008748/0.5789, allocations: 239.8 kB / 0.636 GB, free: 10.49 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.002142/0.5811, allocations: 1.378 MB / 0.6374 GB, free: 9.098 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006676/0.5817, allocations: 256 kB / 0.6376 GB, free: 8.848 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.5818, allocations: 4 kB / 0.6376 GB, free: 8.844 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.582, allocations: 79.83 kB / 0.6377 GB, free: 8.766 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/0.5839, allocations: 349.6 kB / 0.638 GB, free: 8.422 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01601/0.6, allocations: 11.77 MB / 0.6495 GB, free: 12.21 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007813/0.6008, allocations: 1.11 MB / 0.6506 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007794/0.6016, allocations: 220.5 kB / 0.6508 GB, free: 10.85 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004957/0.6021, allocations: 403.3 kB / 0.6512 GB, free: 10.45 MB / 478.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6021, allocations: 7.938 kB / 0.6512 GB, free: 10.45 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09414/0.6962, allocations: 28.74 MB / 0.6793 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.43, allocations: 11.89 kB / 0.6793 GB, free: 13.59 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1)