Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGT.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.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT") translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 183.2 kB / 16.71 MB, free: 4.969 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.311/1.311, allocations: 225.7 MB / 243.2 MB, free: 8.516 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.0008019/0.0008016, allocations: 91.27 kB / 294.4 MB, free: 9.516 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.424/0.424, allocations: 48.8 MB / 394.3 MB, free: 33.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 8 kB / 468.1 MB, free: 9.441 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3265, allocations: 63.08 MB / 0.5187 GB, free: 37.35 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.4662/0.7927, allocations: 174.1 MB / 0.6888 GB, free: 9.5 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003631/0.7964, allocations: 2.564 MB / 0.6913 GB, free: 8.758 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005741/0.797, allocations: 12.06 kB / 0.6913 GB, free: 8.758 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009347/0.798, allocations: 325.5 kB / 0.6916 GB, free: 8.754 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.7993, allocations: 0.7607 MB / 0.6923 GB, free: 8.723 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.8017, allocations: 0.9996 MB / 0.6933 GB, free: 8.672 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002618/0.8044, allocations: 2.345 MB / 0.6956 GB, free: 8.672 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.8055, allocations: 0.5546 MB / 0.6961 GB, free: 8.613 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.807, allocations: 0.7343 MB / 0.6969 GB, free: 8.609 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009867/0.808, allocations: 0.8102 MB / 0.6976 GB, free: 8.605 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.8081, allocations: 42.52 kB / 0.6977 GB, free: 8.605 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.8103, allocations: 0.9795 MB / 0.6986 GB, free: 8.59 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007281/0.8111, allocations: 0.7597 MB / 0.6994 GB, free: 8.59 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.8122, allocations: 0.8986 MB / 0.7003 GB, free: 8.559 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003565/0.8158, allocations: 2.43 MB / 0.7026 GB, free: 8.418 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.8158, allocations: 0 / 0.7026 GB, free: 8.418 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.8158, allocations: 1.281 kB / 0.7026 GB, free: 8.418 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.638e-05/0.8158, allocations: 0 / 0.7026 GB, free: 8.418 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.004086/0.8199, allocations: 2.001 MB / 0.7046 GB, free: 7.258 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.82, allocations: 14.61 kB / 0.7046 GB, free: 7.254 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009839/0.821, allocations: 302.1 kB / 0.7049 GB, free: 7.137 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002279/0.8233, allocations: 1.372 MB / 0.7062 GB, free: 6.621 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.8234, allocations: 98.78 kB / 0.7063 GB, free: 6.582 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.8236, allocations: 90.09 kB / 0.7064 GB, free: 6.578 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002759/0.8264, allocations: 1.136 MB / 0.7075 GB, free: 6.387 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.8265, allocations: 5.75 kB / 0.7075 GB, free: 6.383 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.8266, allocations: 40 kB / 0.7076 GB, free: 6.383 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-05/0.8267, allocations: 38.14 kB / 0.7076 GB, free: 6.379 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.8284, allocations: 0.8195 MB / 0.7084 GB, free: 6.371 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.009101/0.8375, allocations: 5.158 MB / 0.7134 GB, free: 3.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006292/0.8381, allocations: 324.2 kB / 0.7138 GB, free: 3.922 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.8384, allocations: 144.6 kB / 0.7139 GB, free: 3.906 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/0.8384, allocations: 6.656 kB / 0.7139 GB, free: 3.906 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.8385, allocations: 48.31 kB / 0.7139 GB, free: 3.863 MB / 490.7 MB Notification: Performance of pre-optimization done (n=38): time 2.625e-06/0.8385, allocations: 0 / 0.7139 GB, free: 3.863 MB / 490.7 MB Notification: Performance of matching and sorting (n=40): time 0.002789/0.8413, allocations: 1.656 MB / 0.7156 GB, free: 2.996 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.8413, allocations: 83.95 kB / 0.7156 GB, free: 2.898 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00366/0.845, allocations: 3.403 MB / 0.719 GB, free: 2.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.565e-05/0.8451, allocations: 36.77 kB / 0.719 GB, free: 2.629 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006652/0.8457, allocations: 0.9602 MB / 0.7199 GB, free: 2.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.886e-05/0.8458, allocations: 143.6 kB / 0.7201 GB, free: 2.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.8459, allocations: 13.34 kB / 0.7201 GB, free: 2.34 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.012e-05/0.8459, allocations: 331.4 kB / 0.7204 GB, free: 2.035 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.8463, allocations: 202.6 kB / 0.7206 GB, free: 2.035 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.8466, allocations: 402.3 kB / 0.721 GB, free: 1.809 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006454/0.8473, allocations: 0.5642 MB / 0.7215 GB, free: 1.574 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.8473, allocations: 2.875 kB / 0.7215 GB, free: 1.574 MB / 490.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001214/0.8485, allocations: 0.8486 MB / 0.7224 GB, free: 1.414 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.8486, allocations: 8 kB / 0.7224 GB, free: 1.414 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.8486, allocations: 10.12 kB / 0.7224 GB, free: 1.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.8486, allocations: 11.28 kB / 0.7224 GB, free: 1.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.8497, allocations: 215.4 kB / 0.7226 GB, free: 1.406 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004776/0.8501, allocations: 1.207 MB / 0.7238 GB, free: 16.23 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008529/0.851, allocations: 38.58 kB / 0.7238 GB, free: 16.23 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.094e-05/0.8511, allocations: 32.02 kB / 0.7238 GB, free: 16.23 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * 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.0008004/0.8519, allocations: 0.5887 MB / 0.7244 GB, free: 16.11 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/0.8521, allocations: 221.9 kB / 0.7246 GB, free: 16 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008704/0.853, allocations: 0.524 MB / 0.7251 GB, free: 15.93 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.853, allocations: 7.094 kB / 0.7251 GB, free: 15.93 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.853, allocations: 2.906 kB / 0.7251 GB, free: 15.93 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.8531, allocations: 1.875 kB / 0.7251 GB, free: 15.93 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.8557, allocations: 1.827 MB / 0.7269 GB, free: 15.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.8558, allocations: 0 / 0.7269 GB, free: 15.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006837/0.8564, allocations: 128.7 kB / 0.7271 GB, free: 15.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.8565, allocations: 9.672 kB / 0.7271 GB, free: 15.49 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.8565, allocations: 8.625 kB / 0.7271 GB, free: 15.49 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005397/0.857, allocations: 1.2 MB / 0.7282 GB, free: 14.32 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8571, allocations: 3.938 kB / 0.7282 GB, free: 14.31 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009988/0.8581, allocations: 0.7621 MB / 0.729 GB, free: 14.03 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007174/0.8588, allocations: 428.5 kB / 0.7294 GB, free: 13.83 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002956/0.8591, allocations: 13.16 kB / 0.7294 GB, free: 13.82 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008309/0.8599, allocations: 36.47 kB / 0.7294 GB, free: 13.82 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/0.86, allocations: 36.28 kB / 0.7295 GB, free: 13.82 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.678e-05/0.8601, allocations: 26.97 kB / 0.7295 GB, free: 13.82 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.003391/0.8635, allocations: 2.405 MB / 0.7319 GB, free: 13.67 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8635, allocations: 0 / 0.7319 GB, free: 13.67 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001449/0.8649, allocations: 337.3 kB / 0.7322 GB, free: 13.66 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (Generator.phi,Generator.omega_m,Generator.omega_e_filt,Grid.port.theta) * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * 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.001747/0.8667, allocations: 0.601 MB / 0.7328 GB, free: 13.39 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0009252/0.8677, allocations: 462.1 kB / 0.7332 GB, free: 13.39 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.8677, allocations: 0.5625 kB / 0.7332 GB, free: 13.39 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.868, allocations: 172 kB / 0.7334 GB, free: 13.39 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003177/0.8712, allocations: 0.5684 MB / 0.7339 GB, free: 13.33 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006698/0.8779, allocations: 4.318 MB / 0.7381 GB, free: 11.23 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001667/0.8796, allocations: 1.471 MB / 0.7396 GB, free: 10.24 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.001501/0.8811, allocations: 347.1 kB / 0.7399 GB, free: 10.11 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005889/0.8817, allocations: 108.9 kB / 0.74 GB, free: 10.1 MB / 0.4949 GB Notification: Performance of SimCode: time 1.282e-06/0.8818, allocations: 0 / 0.74 GB, free: 10.1 MB / 0.4949 GB Notification: Performance of Templates: time 0.04714/0.9289, allocations: 25.94 MB / 0.7653 GB, free: 2.996 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGT.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1)