Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.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.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 108.3 kB / 17.06 MB, free: 6.023 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.001585/0.001585, allocations: 192 kB / 17.99 MB, free: 5.109 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.429/1.429, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.276/0.276, allocations: 48.85 MB / 320.1 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.001377/0.001377, allocations: 71.91 kB / 450.5 MB, free: 8.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09982/0.1012, allocations: 59.16 MB / 0.4977 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.4652/0.5664, allocations: 170.6 MB / 0.6644 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005789/0.5723, allocations: 3.907 MB / 0.6682 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006145/0.5729, allocations: 11.94 kB / 0.6682 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.5741, allocations: 274.3 kB / 0.6684 GB, free: 11.46 MB / 0.5137 GB [/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.001157/0.5752, allocations: 0.5755 MB / 0.669 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004367/0.5796, allocations: 1.654 MB / 0.6706 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001912/0.5815, allocations: 1.33 MB / 0.6719 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006799/0.5822, allocations: 410.7 kB / 0.6723 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008119/0.5831, allocations: 0.5295 MB / 0.6728 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006749/0.5837, allocations: 0.5216 MB / 0.6733 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.102e-05/0.5838, allocations: 60 kB / 0.6734 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.5854, allocations: 0.6821 MB / 0.6741 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004061/0.5858, allocations: 474.8 kB / 0.6745 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004903/0.5863, allocations: 0.5438 MB / 0.6751 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.5881, allocations: 1.566 MB / 0.6766 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.5881, allocations: 0 / 0.6766 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5882, allocations: 4 kB / 0.6766 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.667e-05/0.5882, allocations: 0 / 0.6766 GB, free: 3.109 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00207/0.5903, allocations: 1.464 MB / 0.678 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.5903, allocations: 19.88 kB / 0.678 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006995/0.591, allocations: 178.2 kB / 0.6782 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.5922, allocations: 0.8547 MB / 0.679 GB, free: 500 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.585e-05/0.5922, allocations: 45.31 kB / 0.6791 GB, free: 452 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.921e-05/0.5923, allocations: 48 kB / 0.6791 GB, free: 404 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.5934, allocations: 0.6237 MB / 0.6797 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.5934, allocations: 0 / 0.6797 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.188e-05/0.5935, allocations: 27.94 kB / 0.6798 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.5935, allocations: 15.98 kB / 0.6798 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007642/0.5942, allocations: 496.9 kB / 0.6802 GB, free: 15.23 MB / 0.5294 GB 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.004261/0.5985, allocations: 2.545 MB / 0.6827 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.5989, allocations: 198.6 kB / 0.6829 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.599, allocations: 81.7 kB / 0.683 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/0.5993, allocations: 117.1 kB / 0.6831 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.5994, allocations: 42.5 kB / 0.6832 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=20): time 2.374e-06/0.5994, allocations: 3.938 kB / 0.6832 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20): time 0.0006904/0.6001, allocations: 344.4 kB / 0.6835 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.6001, allocations: 59.39 kB / 0.6835 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002234/0.6024, allocations: 1.878 MB / 0.6854 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.465e-05/0.6024, allocations: 37.7 kB / 0.6854 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000486/0.6029, allocations: 0.5636 MB / 0.686 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.918e-05/0.603, allocations: 71 kB / 0.686 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.6032, allocations: 77.97 kB / 0.6861 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.6033, allocations: 325.9 kB / 0.6864 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.6035, allocations: 142.6 kB / 0.6866 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.6038, allocations: 234.4 kB / 0.6868 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/0.6042, allocations: 333.5 kB / 0.6871 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.6043, allocations: 0 / 0.6871 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008573/0.6051, allocations: 0.5037 MB / 0.6876 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.6052, allocations: 11.91 kB / 0.6876 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.6052, allocations: 4.688 kB / 0.6876 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.6052, allocations: 4 kB / 0.6876 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005987/0.6058, allocations: 123.5 kB / 0.6877 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009476/0.6068, allocations: 1.789 MB / 0.6895 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/0.6072, allocations: 71.27 kB / 0.6895 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.116e-05/0.6073, allocations: 29.56 kB / 0.6896 GB, free: 5.262 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005161/0.6078, allocations: 378.4 kB / 0.6899 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.608, allocations: 122.5 kB / 0.69 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005749/0.6086, allocations: 337.5 kB / 0.6904 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.6086, allocations: 4 kB / 0.6904 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.6086, allocations: 0 / 0.6904 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.6086, allocations: 3.984 kB / 0.6904 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008945/0.6095, allocations: 0.6949 MB / 0.6911 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6095, allocations: 48 / 0.6911 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.6099, allocations: 87.86 kB / 0.6911 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.61, allocations: 0 / 0.6911 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.61, allocations: 8 kB / 0.6911 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.611, allocations: 1.782 MB / 0.6929 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.611, allocations: 0 / 0.6929 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007274/0.6117, allocations: 492.2 kB / 0.6934 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003463/0.6121, allocations: 239.5 kB / 0.6936 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.6122, allocations: 8 kB / 0.6936 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004613/0.6127, allocations: 20.14 kB / 0.6936 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.6127, allocations: 15.92 kB / 0.6936 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/0.6128, allocations: 25.16 kB / 0.6936 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001711/0.6145, allocations: 1.346 MB / 0.695 GB, free: 15.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6145, allocations: 0 / 0.695 GB, free: 15.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000776/0.6153, allocations: 239.8 kB / 0.6952 GB, free: 15.32 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001313/0.6166, allocations: 0.4953 MB / 0.6957 GB, free: 14.81 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007766/0.6174, allocations: 284.2 kB / 0.6959 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6174, allocations: 3.938 kB / 0.696 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.6178, allocations: 111.8 kB / 0.6961 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.6194, allocations: 381.3 kB / 0.6964 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.6224, allocations: 2.055 MB / 0.6984 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000687/0.6231, allocations: 1.106 MB / 0.6995 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006396/0.6238, allocations: 228.5 kB / 0.6997 GB, free: 10.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.624, allocations: 71.44 kB / 0.6998 GB, free: 10.53 MB / 0.545 GB Notification: Performance of SimCode: time 7.52e-07/0.624, allocations: 0 / 0.6998 GB, free: 10.53 MB / 0.545 GB Notification: Performance of Templates: time 0.03127/0.6553, allocations: 18.11 MB / 0.7175 GB, free: 8.387 MB / 0.5606 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1)