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: translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 112.8 kB / 17.69 MB, free: 5.312 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.001506/0.001506, allocations: 192 kB / 18.63 MB, free: 4.379 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.325/1.325, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2683/0.2683, allocations: 48.84 MB / 320.7 MB, free: 11.04 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.001597/0.001597, allocations: 70.83 kB / 391.5 MB, free: 48.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09514/0.09675, allocations: 59.16 MB / 450.7 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.3787/0.4755, allocations: 170.6 MB / 0.6067 GB, free: 4.605 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005175/0.4807, allocations: 3.909 MB / 0.6106 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004796/0.4812, allocations: 8.344 kB / 0.6106 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000877/0.4821, allocations: 271.6 kB / 0.6108 GB, free: 1.219 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.00117/0.4833, allocations: 0.569 MB / 0.6114 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003897/0.4872, allocations: 1.652 MB / 0.613 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001698/0.4889, allocations: 1.309 MB / 0.6143 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008504/0.4898, allocations: 391.6 kB / 0.6147 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.491, allocations: 0.5217 MB / 0.6152 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009848/0.492, allocations: 0.5094 MB / 0.6157 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001941/0.4922, allocations: 57.62 kB / 0.6157 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.4952, allocations: 1.434 MB / 0.6171 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004396/0.4956, allocations: 477.4 kB / 0.6176 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005469/0.4962, allocations: 0.5397 MB / 0.6181 GB, free: 12.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002294/0.4985, allocations: 1.914 MB / 0.62 GB, free: 11.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4985, allocations: 0 / 0.62 GB, free: 11.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4985, allocations: 0 / 0.62 GB, free: 11.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.4985, allocations: 0 / 0.62 GB, free: 11.52 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.002198/0.5007, allocations: 1.524 MB / 0.6215 GB, free: 10.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.5008, allocations: 13.42 kB / 0.6215 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007178/0.5015, allocations: 185.3 kB / 0.6216 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.5028, allocations: 0.8593 MB / 0.6225 GB, free: 9.637 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.5028, allocations: 41.44 kB / 0.6225 GB, free: 9.617 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.965e-05/0.5029, allocations: 51.25 kB / 0.6226 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009155/0.5038, allocations: 0.6066 MB / 0.6232 GB, free: 9.242 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.5038, allocations: 2.688 kB / 0.6232 GB, free: 9.242 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.844e-05/0.5039, allocations: 24.72 kB / 0.6232 GB, free: 9.223 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.5039, allocations: 14.88 kB / 0.6232 GB, free: 9.223 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007111/0.5046, allocations: 479.2 kB / 0.6237 GB, free: 8.766 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.004212/0.5088, allocations: 2.574 MB / 0.6262 GB, free: 6.023 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.5092, allocations: 140.2 kB / 0.6263 GB, free: 5.879 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.5093, allocations: 52.84 kB / 0.6264 GB, free: 5.824 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003374/0.5097, allocations: 125.1 kB / 0.6265 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.5097, allocations: 38.56 kB / 0.6265 GB, free: 5.637 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.893e-06/0.5097, allocations: 0 / 0.6265 GB, free: 5.637 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006703/0.5104, allocations: 284.1 kB / 0.6268 GB, free: 5.352 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.5105, allocations: 55.41 kB / 0.6268 GB, free: 5.285 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002798/0.5133, allocations: 1.906 MB / 0.6287 GB, free: 3.359 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/0.5133, allocations: 37.7 kB / 0.6287 GB, free: 3.316 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004336/0.5138, allocations: 0.575 MB / 0.6293 GB, free: 2.738 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.5138, allocations: 59.22 kB / 0.6294 GB, free: 2.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.514, allocations: 77.59 kB / 0.6294 GB, free: 2.598 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.5141, allocations: 318 kB / 0.6297 GB, free: 2.281 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.5143, allocations: 122.2 kB / 0.6298 GB, free: 2.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.5145, allocations: 251.4 kB / 0.6301 GB, free: 1.852 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/0.5149, allocations: 338.9 kB / 0.6304 GB, free: 1.457 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.5149, allocations: 0 / 0.6304 GB, free: 1.457 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000711/0.5157, allocations: 493.2 kB / 0.6309 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.5157, allocations: 8 kB / 0.6309 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.5157, allocations: 4 kB / 0.6309 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.5157, allocations: 11.94 kB / 0.6309 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000511/0.5162, allocations: 116.8 kB / 0.631 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006724/0.5169, allocations: 1.196 MB / 0.6322 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/0.5174, allocations: 67.2 kB / 0.6322 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.5175, allocations: 27.94 kB / 0.6323 GB, free: 15.5 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.0004675/0.5179, allocations: 377.5 kB / 0.6326 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.5181, allocations: 122.5 kB / 0.6328 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004223/0.5185, allocations: 274.3 kB / 0.633 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5185, allocations: 0 / 0.633 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5186, allocations: 0 / 0.633 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5186, allocations: 0 / 0.633 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007959/0.5194, allocations: 0.6756 MB / 0.6337 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5194, allocations: 0 / 0.6337 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/0.5197, allocations: 56.52 kB / 0.6337 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.5197, allocations: 96 / 0.6337 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.5197, allocations: 5.25 kB / 0.6337 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006657/0.5204, allocations: 1.188 MB / 0.6349 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.5204, allocations: 3.984 kB / 0.6349 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004958/0.5209, allocations: 404.9 kB / 0.6353 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004303/0.5213, allocations: 235.9 kB / 0.6355 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.5215, allocations: 7.984 kB / 0.6355 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.5219, allocations: 15.98 kB / 0.6355 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.5219, allocations: 7.984 kB / 0.6355 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/0.522, allocations: 15.98 kB / 0.6356 GB, free: 11.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001601/0.5236, allocations: 1.354 MB / 0.6369 GB, free: 10.63 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5236, allocations: 3.938 kB / 0.6369 GB, free: 10.62 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008401/0.5244, allocations: 247.7 kB / 0.6371 GB, free: 10.38 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.001401/0.5258, allocations: 0.537 MB / 0.6376 GB, free: 9.848 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005689/0.5264, allocations: 244.5 kB / 0.6379 GB, free: 9.609 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.5264, allocations: 4.375 kB / 0.6379 GB, free: 9.605 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.5266, allocations: 75.91 kB / 0.6379 GB, free: 9.531 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.5281, allocations: 364.4 kB / 0.6383 GB, free: 9.172 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.5307, allocations: 1.936 MB / 0.6402 GB, free: 7.199 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006702/0.5313, allocations: 1.11 MB / 0.6413 GB, free: 6.062 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005035/0.5319, allocations: 220.5 kB / 0.6415 GB, free: 5.844 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.532, allocations: 79.42 kB / 0.6416 GB, free: 5.766 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.532, allocations: 0 / 0.6416 GB, free: 5.766 MB / 462.1 MB Notification: Performance of Templates: time 0.02631/0.5583, allocations: 17.68 MB / 0.6588 GB, free: 4.059 MB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile (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 & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1)