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.00112/0.001121, allocations: 96.7 kB / 16.61 MB, free: 6.812 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.001178/0.001178, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.374/1.374, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2778/0.2778, allocations: 48.84 MB / 319.6 MB, free: 11.26 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.001351/0.001351, allocations: 62.94 kB / 389.5 MB, free: 49.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09441/0.09578, allocations: 59.15 MB / 448.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.3973/0.4931, allocations: 168.5 MB / 0.6028 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004798/0.4979, allocations: 3.933 MB / 0.6066 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004619/0.4985, allocations: 4.906 kB / 0.6066 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007513/0.4993, allocations: 239.6 kB / 0.6068 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009165/0.5002, allocations: 0.5336 MB / 0.6074 GB, free: 3.625 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003541/0.5037, allocations: 1.538 MB / 0.6089 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001419/0.5052, allocations: 1.319 MB / 0.6101 GB, free: 1.844 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004744/0.5056, allocations: 393.6 kB / 0.6105 GB, free: 1.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005999/0.5063, allocations: 0.5208 MB / 0.611 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005024/0.5068, allocations: 0.5432 MB / 0.6116 GB, free: 1.027 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.586e-05/0.5069, allocations: 58.19 kB / 0.6116 GB, free: 1.027 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.5094, allocations: 1.546 MB / 0.6131 GB, free: 256 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003551/0.5098, allocations: 480.1 kB / 0.6136 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004441/0.5102, allocations: 0.5316 MB / 0.6141 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002349/0.5126, allocations: 1.994 MB / 0.616 GB, free: 14.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.5126, allocations: 2.781 kB / 0.616 GB, free: 14.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5126, allocations: 0 / 0.616 GB, free: 14.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.979e-05/0.5126, allocations: 0 / 0.616 GB, free: 14.39 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.002191/0.5148, allocations: 1.537 MB / 0.6175 GB, free: 13.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.5149, allocations: 14.17 kB / 0.6176 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008085/0.5157, allocations: 180.9 kB / 0.6177 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.5169, allocations: 0.8415 MB / 0.6186 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/0.5169, allocations: 41.19 kB / 0.6186 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.476e-05/0.517, allocations: 55.28 kB / 0.6186 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009545/0.518, allocations: 0.6061 MB / 0.6192 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.518, allocations: 7.094 kB / 0.6192 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.44e-05/0.5181, allocations: 24.75 kB / 0.6193 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.5181, allocations: 18.69 kB / 0.6193 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006341/0.5187, allocations: 475.1 kB / 0.6197 GB, free: 11.86 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.003789/0.5225, allocations: 2.605 MB / 0.6223 GB, free: 9.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.5228, allocations: 130.6 kB / 0.6224 GB, free: 8.953 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/0.5229, allocations: 52.84 kB / 0.6225 GB, free: 8.898 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002384/0.5231, allocations: 129 kB / 0.6226 GB, free: 8.754 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.5232, allocations: 38.56 kB / 0.6226 GB, free: 8.707 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 2.725e-06/0.5232, allocations: 0 / 0.6226 GB, free: 8.707 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004916/0.5237, allocations: 284.1 kB / 0.6229 GB, free: 8.422 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.5237, allocations: 55.41 kB / 0.6229 GB, free: 8.355 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.5257, allocations: 1.91 MB / 0.6248 GB, free: 6.426 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.5257, allocations: 33.7 kB / 0.6248 GB, free: 6.387 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004132/0.5261, allocations: 0.5711 MB / 0.6254 GB, free: 5.812 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.5262, allocations: 55.28 kB / 0.6255 GB, free: 5.758 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.5263, allocations: 81.59 kB / 0.6255 GB, free: 5.672 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.967e-05/0.5264, allocations: 314 kB / 0.6258 GB, free: 5.359 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.5266, allocations: 125.5 kB / 0.6259 GB, free: 5.234 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.5269, allocations: 251.4 kB / 0.6262 GB, free: 4.926 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/0.5273, allocations: 339.8 kB / 0.6265 GB, free: 4.531 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.5273, allocations: 0 / 0.6265 GB, free: 4.531 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007004/0.528, allocations: 0.4919 MB / 0.627 GB, free: 4.031 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.528, allocations: 8 kB / 0.627 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.528, allocations: 4 kB / 0.627 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.528, allocations: 8 kB / 0.627 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005067/0.5286, allocations: 108.9 kB / 0.6271 GB, free: 3.906 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006069/0.5292, allocations: 1.201 MB / 0.6283 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004731/0.5297, allocations: 75.14 kB / 0.6284 GB, free: 2.586 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.038e-05/0.5297, allocations: 23.94 kB / 0.6284 GB, free: 2.562 MB / 446.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.0004334/0.5302, allocations: 378.6 kB / 0.6287 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.5303, allocations: 122.4 kB / 0.6289 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004141/0.5307, allocations: 284.5 kB / 0.6291 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5308, allocations: 0 / 0.6291 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5308, allocations: 0 / 0.6291 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5308, allocations: 0 / 0.6291 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007477/0.5315, allocations: 0.6795 MB / 0.6298 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.5315, allocations: 3.984 kB / 0.6298 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.5318, allocations: 49.53 kB / 0.6298 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5318, allocations: 4 kB / 0.6299 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.5319, allocations: 4 kB / 0.6299 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000558/0.5324, allocations: 1.184 MB / 0.631 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5324, allocations: 192 / 0.631 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004537/0.5329, allocations: 412.9 kB / 0.6314 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.5332, allocations: 243.5 kB / 0.6316 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.5333, allocations: 4 kB / 0.6316 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004419/0.5337, allocations: 17.55 kB / 0.6317 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.5338, allocations: 8.078 kB / 0.6317 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.5338, allocations: 15.98 kB / 0.6317 GB, free: 15.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001511/0.5353, allocations: 1.366 MB / 0.633 GB, free: 13.67 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5354, allocations: 0 / 0.633 GB, free: 13.67 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008038/0.5362, allocations: 235.8 kB / 0.6332 GB, free: 13.44 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.001266/0.5374, allocations: 0.5359 MB / 0.6338 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005692/0.538, allocations: 255.7 kB / 0.634 GB, free: 12.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.538, allocations: 4 kB / 0.634 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.5382, allocations: 67.91 kB / 0.6341 GB, free: 12.58 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.5398, allocations: 369.3 kB / 0.6344 GB, free: 12.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.5425, allocations: 2.249 MB / 0.6366 GB, free: 9.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/0.5431, allocations: 1.102 MB / 0.6377 GB, free: 8.801 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005962/0.5437, allocations: 220.5 kB / 0.6379 GB, free: 8.582 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.5439, allocations: 79.42 kB / 0.638 GB, free: 8.504 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.5439, allocations: 0 / 0.638 GB, free: 8.504 MB / 462.1 MB Notification: Performance of Templates: time 0.02788/0.5718, allocations: 17.22 MB / 0.6548 GB, free: 7.258 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1)