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.001174/0.001179, allocations: 112.5 kB / 17.68 MB, free: 5.469 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.001049/0.001049, allocations: 192 kB / 18.61 MB, free: 4.543 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.539/1.539, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3062/0.3062, allocations: 48.85 MB / 320.7 MB, free: 11.02 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.003021/0.003022, allocations: 71.17 kB / 391.5 MB, free: 48.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1558, allocations: 59.16 MB / 450.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.4535/0.6093, allocations: 170.6 MB / 0.6067 GB, free: 4.707 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005559/0.6149, allocations: 3.9 MB / 0.6105 GB, free: 1.555 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006944/0.6156, allocations: 15.81 kB / 0.6106 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008336/0.6165, allocations: 272.9 kB / 0.6108 GB, free: 1.32 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.001096/0.6176, allocations: 0.5574 MB / 0.6114 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003954/0.6216, allocations: 1.652 MB / 0.613 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001568/0.6232, allocations: 1.317 MB / 0.6143 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005657/0.6237, allocations: 395.3 kB / 0.6146 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000654/0.6244, allocations: 0.5177 MB / 0.6152 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005415/0.625, allocations: 0.5121 MB / 0.6157 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.189e-05/0.625, allocations: 55.78 kB / 0.6157 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002684/0.6277, allocations: 1.436 MB / 0.6171 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003672/0.6281, allocations: 477.8 kB / 0.6176 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000499/0.6286, allocations: 0.5341 MB / 0.6181 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002324/0.631, allocations: 1.916 MB / 0.62 GB, free: 11.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.631, allocations: 2.906 kB / 0.62 GB, free: 11.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.631, allocations: 0 / 0.62 GB, free: 11.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.631, allocations: 0 / 0.62 GB, free: 11.62 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.002185/0.6332, allocations: 1.526 MB / 0.6214 GB, free: 10.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.6332, allocations: 13.23 kB / 0.6215 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007145/0.634, allocations: 184.6 kB / 0.6216 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.6353, allocations: 0.8491 MB / 0.6225 GB, free: 9.746 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.6353, allocations: 39.75 kB / 0.6225 GB, free: 9.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.61e-05/0.6354, allocations: 52.62 kB / 0.6226 GB, free: 9.711 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009593/0.6364, allocations: 0.6127 MB / 0.6232 GB, free: 9.348 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.6364, allocations: 3.938 kB / 0.6232 GB, free: 9.344 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.631e-05/0.6365, allocations: 35.2 kB / 0.6232 GB, free: 9.316 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.6365, allocations: 12.44 kB / 0.6232 GB, free: 9.316 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006715/0.6372, allocations: 477.5 kB / 0.6237 GB, free: 8.918 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.004085/0.6412, allocations: 2.562 MB / 0.6262 GB, free: 6.188 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.6415, allocations: 146.5 kB / 0.6263 GB, free: 6.035 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.553e-05/0.6416, allocations: 48.84 kB / 0.6263 GB, free: 5.984 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002645/0.6419, allocations: 125.1 kB / 0.6265 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.6419, allocations: 38.56 kB / 0.6265 GB, free: 5.797 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.833e-06/0.6419, allocations: 0 / 0.6265 GB, free: 5.797 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005089/0.6424, allocations: 276.2 kB / 0.6268 GB, free: 5.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.6425, allocations: 59.34 kB / 0.6268 GB, free: 5.449 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/0.6446, allocations: 1.91 MB / 0.6287 GB, free: 3.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.6446, allocations: 33.7 kB / 0.6287 GB, free: 3.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004517/0.6451, allocations: 0.5789 MB / 0.6293 GB, free: 2.898 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.6451, allocations: 55.23 kB / 0.6293 GB, free: 2.844 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.6453, allocations: 81.59 kB / 0.6294 GB, free: 2.758 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.6454, allocations: 322 kB / 0.6297 GB, free: 2.438 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.6456, allocations: 122.2 kB / 0.6298 GB, free: 2.316 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.6458, allocations: 239.5 kB / 0.6301 GB, free: 2.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.6462, allocations: 342.8 kB / 0.6304 GB, free: 1.621 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6462, allocations: 4 kB / 0.6304 GB, free: 1.617 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007335/0.647, allocations: 497.7 kB / 0.6309 GB, free: 1.125 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.647, allocations: 4.562 kB / 0.6309 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.647, allocations: 12 kB / 0.6309 GB, free: 1.109 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.647, allocations: 4 kB / 0.6309 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/0.6476, allocations: 113 kB / 0.631 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006292/0.6482, allocations: 1.188 MB / 0.6322 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004742/0.6487, allocations: 87.31 kB / 0.6322 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-05/0.6487, allocations: 19.94 kB / 0.6323 GB, free: 15.66 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.000469/0.6492, allocations: 381.5 kB / 0.6326 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.6494, allocations: 118.5 kB / 0.6327 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004302/0.6498, allocations: 270.9 kB / 0.633 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.6499, allocations: 0 / 0.633 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6499, allocations: 0 / 0.633 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.6499, allocations: 7.984 kB / 0.633 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008357/0.6507, allocations: 0.6795 MB / 0.6337 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.6507, allocations: 0 / 0.6337 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.651, allocations: 47.91 kB / 0.6337 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.651, allocations: 4 kB / 0.6337 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.651, allocations: 1.75 kB / 0.6337 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006313/0.6517, allocations: 1.188 MB / 0.6349 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.6517, allocations: 0 / 0.6349 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000518/0.6522, allocations: 408.9 kB / 0.6353 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004572/0.6527, allocations: 235.6 kB / 0.6355 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.6528, allocations: 4 kB / 0.6355 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/0.6532, allocations: 16.23 kB / 0.6355 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.6533, allocations: 15.97 kB / 0.6355 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/0.6533, allocations: 15.97 kB / 0.6355 GB, free: 12.14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001705/0.655, allocations: 1.358 MB / 0.6369 GB, free: 10.78 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.655, allocations: 3.938 kB / 0.6369 GB, free: 10.78 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009392/0.656, allocations: 239.7 kB / 0.6371 GB, free: 10.54 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.001442/0.6574, allocations: 0.5398 MB / 0.6376 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006405/0.6581, allocations: 235.8 kB / 0.6379 GB, free: 9.773 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.6581, allocations: 5.125 kB / 0.6379 GB, free: 9.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.6583, allocations: 75.91 kB / 0.6379 GB, free: 9.695 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.6598, allocations: 368.7 kB / 0.6383 GB, free: 9.332 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.6624, allocations: 1.944 MB / 0.6402 GB, free: 7.352 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007131/0.6632, allocations: 1.11 MB / 0.6413 GB, free: 6.215 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005464/0.6637, allocations: 208.5 kB / 0.6415 GB, free: 6.008 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.6639, allocations: 87.36 kB / 0.6415 GB, free: 5.922 MB / 462.1 MB Notification: Performance of SimCode: time 6.71e-07/0.6639, allocations: 0 / 0.6415 GB, free: 5.922 MB / 462.1 MB Notification: Performance of Templates: time 0.03165/0.6956, allocations: 17.69 MB / 0.6588 GB, free: 4.207 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 cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1)