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.001678/0.001678, allocations: 108.9 kB / 17.06 MB, free: 6.012 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.00233/0.00233, allocations: 191 kB / 18 MB, free: 5.098 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.505/1.505, 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.2993/0.2993, allocations: 48.84 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.001608/0.001608, allocations: 68.45 kB / 450.5 MB, free: 8.578 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1288, allocations: 59.15 MB / 0.4977 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.4635/0.5924, allocations: 170.6 MB / 0.6644 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005851/0.5983, allocations: 3.907 MB / 0.6682 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006726/0.599, allocations: 11.94 kB / 0.6682 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.6001, allocations: 274.3 kB / 0.6685 GB, free: 11.43 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.001482/0.6016, allocations: 0.5716 MB / 0.669 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005198/0.6069, allocations: 1.655 MB / 0.6706 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002173/0.609, allocations: 1.33 MB / 0.6719 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009282/0.61, allocations: 413.5 kB / 0.6723 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.6111, allocations: 0.5295 MB / 0.6728 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007154/0.6119, allocations: 0.5177 MB / 0.6733 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.612, allocations: 60 kB / 0.6734 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001965/0.614, allocations: 0.6821 MB / 0.6741 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005829/0.6146, allocations: 470.8 kB / 0.6745 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.6157, allocations: 0.5438 MB / 0.675 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002819/0.6186, allocations: 1.566 MB / 0.6766 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-05/0.6186, allocations: 0 / 0.6766 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6186, allocations: 3.938 kB / 0.6766 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.924e-05/0.6187, allocations: 0 / 0.6766 GB, free: 3.086 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.003337/0.622, allocations: 1.471 MB / 0.678 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.6221, allocations: 11.89 kB / 0.678 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.6232, allocations: 182.3 kB / 0.6782 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.6248, allocations: 0.8547 MB / 0.679 GB, free: 472 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/0.6249, allocations: 37.31 kB / 0.6791 GB, free: 432 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.491e-05/0.625, allocations: 52 kB / 0.6791 GB, free: 380 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.6263, allocations: 0.6321 MB / 0.6797 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.6263, allocations: 0 / 0.6797 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.583e-05/0.6264, allocations: 23.94 kB / 0.6798 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.6264, allocations: 12 kB / 0.6798 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008267/0.6273, allocations: 0.4892 MB / 0.6803 GB, free: 15.2 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.004625/0.6319, allocations: 2.549 MB / 0.6827 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/0.6323, allocations: 196.5 kB / 0.6829 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.6325, allocations: 76.83 kB / 0.683 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003095/0.6328, allocations: 113.1 kB / 0.6831 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.6329, allocations: 38.56 kB / 0.6831 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=20): time 2.384e-06/0.6329, allocations: 3.938 kB / 0.6831 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20): time 0.0008546/0.6338, allocations: 356.3 kB / 0.6835 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.6338, allocations: 55.41 kB / 0.6835 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/0.6364, allocations: 1.878 MB / 0.6854 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.063e-05/0.6365, allocations: 37.69 kB / 0.6854 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004838/0.637, allocations: 0.5636 MB / 0.686 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.716e-05/0.637, allocations: 75 kB / 0.686 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.6372, allocations: 81.97 kB / 0.6861 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6373, allocations: 321.9 kB / 0.6864 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.6376, allocations: 134.6 kB / 0.6865 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.6379, allocations: 242.4 kB / 0.6868 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/0.6384, allocations: 333.5 kB / 0.6871 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.6384, allocations: 0 / 0.6871 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001071/0.6394, allocations: 0.5078 MB / 0.6876 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.6395, allocations: 7.906 kB / 0.6876 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.6395, allocations: 4 kB / 0.6876 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.6395, allocations: 8 kB / 0.6876 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006479/0.6402, allocations: 116.7 kB / 0.6877 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.6414, allocations: 1.793 MB / 0.6895 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005754/0.642, allocations: 63.27 kB / 0.6895 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/0.6421, allocations: 20 kB / 0.6896 GB, free: 5.246 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.0005849/0.6427, allocations: 387.8 kB / 0.6899 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/0.6429, allocations: 118.5 kB / 0.69 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006097/0.6435, allocations: 351.6 kB / 0.6904 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.6436, allocations: 7.984 kB / 0.6904 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6436, allocations: 0 / 0.6904 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6436, allocations: 0 / 0.6904 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009815/0.6446, allocations: 0.6969 MB / 0.6911 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.6446, allocations: 4 kB / 0.6911 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/0.645, allocations: 71.89 kB / 0.6911 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.645, allocations: 4 kB / 0.6911 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.645, allocations: 11.98 kB / 0.6911 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.6462, allocations: 1.778 MB / 0.6929 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.6462, allocations: 0 / 0.6929 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006946/0.6469, allocations: 496.2 kB / 0.6934 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003616/0.6473, allocations: 238 kB / 0.6936 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.6474, allocations: 7.938 kB / 0.6936 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005196/0.648, allocations: 19.97 kB / 0.6936 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.648, allocations: 20.08 kB / 0.6936 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.724e-05/0.6481, allocations: 19.98 kB / 0.6936 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001961/0.65, allocations: 1.342 MB / 0.695 GB, free: 15.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.65, allocations: 3.938 kB / 0.695 GB, free: 15.53 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008803/0.6509, allocations: 239.8 kB / 0.6952 GB, free: 15.3 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.001477/0.6524, allocations: 0.4976 MB / 0.6957 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008421/0.6533, allocations: 276.4 kB / 0.6959 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.6533, allocations: 4.125 kB / 0.6959 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003225/0.6536, allocations: 119.8 kB / 0.6961 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/0.6556, allocations: 396.9 kB / 0.6964 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00342/0.659, allocations: 2.036 MB / 0.6984 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008113/0.6598, allocations: 1.106 MB / 0.6995 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006757/0.6605, allocations: 232.5 kB / 0.6997 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/0.6608, allocations: 75.42 kB / 0.6998 GB, free: 10.5 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.6608, allocations: 0 / 0.6998 GB, free: 10.5 MB / 0.545 GB Notification: Performance of Templates: time 0.03313/0.6939, allocations: 18.1 MB / 0.7175 GB, free: 8.375 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)