Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000917/0.0009169, allocations: 177.3 kB / 16.71 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 225.7 MB / 243.2 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008024/0.0008024, allocations: 100.2 kB / 294.4 MB, free: 9.492 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3606/0.3606, allocations: 48.8 MB / 394.3 MB, free: 33.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002851/0.0002852, allocations: 12 kB / 468.1 MB, free: 9.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2702, allocations: 63.07 MB / 0.5187 GB, free: 37.74 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.1526/0.4228, allocations: 158.2 MB / 0.6732 GB, free: 7.379 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005705/0.4286, allocations: 5.219 MB / 0.6783 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000463/0.4291, allocations: 7.938 kB / 0.6783 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00081/0.4299, allocations: 234.8 kB / 0.6785 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009967/0.4309, allocations: 0.5407 MB / 0.679 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2389/0.6698, allocations: 1.44 MB / 0.6805 GB, free: 12.97 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002224/0.6721, allocations: 1.732 MB / 0.6821 GB, free: 12.97 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005317/0.6726, allocations: 345.1 kB / 0.6825 GB, free: 12.96 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006973/0.6733, allocations: 482.5 kB / 0.6829 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006089/0.6739, allocations: 0.5303 MB / 0.6835 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.995e-05/0.674, allocations: 27.81 kB / 0.6835 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.6757, allocations: 0.8708 MB / 0.6843 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003249/0.676, allocations: 441 kB / 0.6847 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004234/0.6764, allocations: 0.5296 MB / 0.6853 GB, free: 12.92 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.6779, allocations: 1.569 MB / 0.6868 GB, free: 12.89 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6779, allocations: 0 / 0.6868 GB, free: 12.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6779, allocations: 2.094 kB / 0.6868 GB, free: 12.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.6779, allocations: 4 kB / 0.6868 GB, free: 12.89 MB / 490.7 MB 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.001576/0.6795, allocations: 1.261 MB / 0.688 GB, free: 12.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.6795, allocations: 18.62 kB / 0.6881 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006654/0.6802, allocations: 187.4 kB / 0.6882 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009522/0.6812, allocations: 0.8521 MB / 0.6891 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.6812, allocations: 37.88 kB / 0.6891 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-05/0.6813, allocations: 50.34 kB / 0.6891 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008934/0.6822, allocations: 0.6196 MB / 0.6898 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.6822, allocations: 0 / 0.6898 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.772e-05/0.6823, allocations: 23.53 kB / 0.6898 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.6823, allocations: 14.94 kB / 0.6898 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006667/0.683, allocations: 484.8 kB / 0.6903 GB, free: 11.56 MB / 490.7 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.003581/0.6866, allocations: 2.564 MB / 0.6928 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.6869, allocations: 196.7 kB / 0.6929 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.687, allocations: 78.41 kB / 0.693 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/0.6873, allocations: 117.1 kB / 0.6931 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.6873, allocations: 45.81 kB / 0.6932 GB, free: 10.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.6873, allocations: 0 / 0.6932 GB, free: 10.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006211/0.688, allocations: 353.9 kB / 0.6935 GB, free: 10.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.99e-05/0.688, allocations: 53.94 kB / 0.6936 GB, free: 10.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/0.6902, allocations: 1.868 MB / 0.6954 GB, free: 10.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.6902, allocations: 31.67 kB / 0.6954 GB, free: 10.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/0.6906, allocations: 0.5651 MB / 0.696 GB, free: 9.863 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.6907, allocations: 79.42 kB / 0.696 GB, free: 9.816 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/0.6907, allocations: 11.88 kB / 0.6961 GB, free: 9.812 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.735e-05/0.6908, allocations: 321.3 kB / 0.6964 GB, free: 9.508 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.691, allocations: 131 kB / 0.6965 GB, free: 9.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.6912, allocations: 233.1 kB / 0.6967 GB, free: 9.363 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.6916, allocations: 336.1 kB / 0.697 GB, free: 9.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6917, allocations: 0.7188 kB / 0.697 GB, free: 9.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007543/0.6924, allocations: 0.4934 MB / 0.6975 GB, free: 9.129 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.6924, allocations: 7.25 kB / 0.6975 GB, free: 9.129 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.6925, allocations: 7.688 kB / 0.6975 GB, free: 9.125 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.6925, allocations: 5.75 kB / 0.6975 GB, free: 9.125 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/0.6931, allocations: 119 kB / 0.6976 GB, free: 9.125 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000553/0.6936, allocations: 1.788 MB / 0.6994 GB, free: 7.367 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004712/0.6941, allocations: 71.83 kB / 0.6995 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.6942, allocations: 25.61 kB / 0.6995 GB, free: 7.324 MB / 490.7 MB 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.0004885/0.6947, allocations: 382.1 kB / 0.6999 GB, free: 7.203 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.6948, allocations: 121.8 kB / 0.7 GB, free: 7.141 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005497/0.6954, allocations: 342.1 kB / 0.7003 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.6954, allocations: 2.375 kB / 0.7003 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.6954, allocations: 0.7188 kB / 0.7003 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.6954, allocations: 4.375 kB / 0.7003 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008279/0.6963, allocations: 0.7012 MB / 0.701 GB, free: 6.871 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.6963, allocations: 0 / 0.701 GB, free: 6.871 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/0.6967, allocations: 77.48 kB / 0.7011 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.6967, allocations: 3.875 kB / 0.7011 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.6967, allocations: 6.062 kB / 0.7011 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005448/0.6973, allocations: 1.788 MB / 0.7028 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6973, allocations: 0 / 0.7028 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006259/0.6979, allocations: 485 kB / 0.7033 GB, free: 4.906 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003671/0.6983, allocations: 252 kB / 0.7035 GB, free: 4.746 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.6985, allocations: 3.281 kB / 0.7035 GB, free: 4.746 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005032/0.699, allocations: 27.72 kB / 0.7035 GB, free: 4.738 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.699, allocations: 15.8 kB / 0.7036 GB, free: 4.738 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.6991, allocations: 26.64 kB / 0.7036 GB, free: 4.734 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001782/0.7009, allocations: 1.331 MB / 0.7049 GB, free: 4.625 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.112e-06/0.7009, allocations: 0 / 0.7049 GB, free: 4.625 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008405/0.7017, allocations: 248.6 kB / 0.7051 GB, free: 4.598 MB / 490.7 MB 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.001306/0.703, allocations: 0.5464 MB / 0.7057 GB, free: 4.344 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007031/0.7037, allocations: 287.7 kB / 0.7059 GB, free: 4.336 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.7038, allocations: 1.812 kB / 0.7059 GB, free: 4.336 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.7041, allocations: 108.8 kB / 0.706 GB, free: 4.336 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.7058, allocations: 373 kB / 0.7064 GB, free: 4.301 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/0.7093, allocations: 2.425 MB / 0.7088 GB, free: 3.203 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009858/0.7103, allocations: 1.109 MB / 0.7098 GB, free: 18.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009774/0.7113, allocations: 235.6 kB / 0.7101 GB, free: 18.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.7115, allocations: 81.06 kB / 0.7101 GB, free: 18.43 MB / 0.4948 GB Notification: Performance of SimCode: time 1.031e-06/0.7115, allocations: 0 / 0.7101 GB, free: 18.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.03411/0.7457, allocations: 16.92 MB / 0.7267 GB, free: 13.69 MB / 0.4948 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)