Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestSources.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.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, 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.344/1.344, allocations: 225.7 MB / 243.2 MB, free: 8.457 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.0008776/0.0008774, allocations: 91.25 kB / 294.4 MB, free: 9.504 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.3888/0.3888, allocations: 48.8 MB / 394.3 MB, free: 33.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.000345, allocations: 15.98 kB / 468.1 MB, free: 9.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2944, allocations: 63.06 MB / 0.5187 GB, free: 37.44 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Water.mo:150:5-150:61:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Water.mo:150:5-150:61:writable] Notification: The diagnostics message for the missing inner is: The System object is missing, please drag it on the top layer of your model Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSources): time 0.08732/0.3818, allocations: 112.9 MB / 0.629 GB, free: 2.539 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002522/0.3843, allocations: 1.059 MB / 0.63 GB, free: 1.477 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000478/0.3848, allocations: 27.75 kB / 0.63 GB, free: 1.449 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006338/0.3855, allocations: 234.3 kB / 0.6303 GB, free: 1.219 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007208/0.3862, allocations: 429.4 kB / 0.6307 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01089/0.3971, allocations: 3.847 MB / 0.6344 GB, free: 12.94 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002165/0.3993, allocations: 1.799 MB / 0.6362 GB, free: 11.12 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005344/0.3998, allocations: 390 kB / 0.6366 GB, free: 10.73 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005011/0.4003, allocations: 398.1 kB / 0.6369 GB, free: 10.34 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004568/0.4008, allocations: 413.8 kB / 0.6373 GB, free: 9.93 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.406e-05/0.4009, allocations: 16 kB / 0.6373 GB, free: 9.914 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008106/0.409, allocations: 4.139 MB / 0.6414 GB, free: 5.77 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.4091, allocations: 91.44 kB / 0.6415 GB, free: 5.68 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004225/0.4096, allocations: 359.7 kB / 0.6418 GB, free: 5.32 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0054/0.415, allocations: 3.055 MB / 0.6448 GB, free: 2.258 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.415, allocations: 0 / 0.6448 GB, free: 2.258 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.415, allocations: 0 / 0.6448 GB, free: 2.258 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.415, allocations: 0 / 0.6448 GB, free: 2.258 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001694/0.4167, allocations: 1.161 MB / 0.6459 GB, free: 1.047 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.4168, allocations: 13.11 kB / 0.6459 GB, free: 1.035 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.4169, allocations: 91.91 kB / 0.646 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.4174, allocations: 475.4 kB / 0.6465 GB, free: 452 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.4175, allocations: 41.31 kB / 0.6465 GB, free: 412 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.163e-05/0.4175, allocations: 55.94 kB / 0.6466 GB, free: 356 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007665/0.4183, allocations: 0.5966 MB / 0.6472 GB, free: 15.63 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.4184, allocations: 7.938 kB / 0.6472 GB, free: 15.62 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.4184, allocations: 20 kB / 0.6472 GB, free: 15.6 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.4184, allocations: 23.98 kB / 0.6472 GB, free: 15.58 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003614/0.4188, allocations: 243.4 kB / 0.6474 GB, free: 15.34 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004259/0.4231, allocations: 7.089 MB / 0.6544 GB, free: 7.465 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.234e-05/0.4231, allocations: 165.1 kB / 0.6545 GB, free: 7.293 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.537e-05/0.4232, allocations: 80.14 kB / 0.6546 GB, free: 7.211 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.4232, allocations: 75.28 kB / 0.6547 GB, free: 7.137 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.4233, allocations: 113.8 kB / 0.6548 GB, free: 7.016 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 1.673e-06/0.4233, allocations: 0 / 0.6548 GB, free: 7.016 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001365/0.4234, allocations: 112.8 kB / 0.6549 GB, free: 6.898 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.4235, allocations: 130.7 kB / 0.655 GB, free: 6.758 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008432/0.4243, allocations: 0.7685 MB / 0.6558 GB, free: 5.965 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.4243, allocations: 25.7 kB / 0.6558 GB, free: 5.934 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.4246, allocations: 387.1 kB / 0.6562 GB, free: 5.551 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-06/0.4246, allocations: 3.984 kB / 0.6562 GB, free: 5.547 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.4246, allocations: 0 / 0.6562 GB, free: 5.547 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.253e-05/0.4247, allocations: 321.9 kB / 0.6565 GB, free: 5.227 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-05/0.4248, allocations: 15.98 kB / 0.6565 GB, free: 5.211 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.401e-05/0.4249, allocations: 82.3 kB / 0.6566 GB, free: 5.094 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.425, allocations: 110.1 kB / 0.6567 GB, free: 4.949 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.425, allocations: 4 kB / 0.6567 GB, free: 4.945 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002955/0.4253, allocations: 204.5 kB / 0.6569 GB, free: 4.738 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4253, allocations: 8 kB / 0.6569 GB, free: 4.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4253, allocations: 4 kB / 0.6569 GB, free: 4.727 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.4253, allocations: 4 kB / 0.6569 GB, free: 4.723 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.623e-05/0.4254, allocations: 23.92 kB / 0.6569 GB, free: 4.699 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.4255, allocations: 4 kB / 0.6569 GB, free: 4.695 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.4257, allocations: 51.36 kB / 0.657 GB, free: 4.645 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.4257, allocations: 8 kB / 0.657 GB, free: 4.637 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001738/0.4259, allocations: 243.7 kB / 0.6572 GB, free: 4.391 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.426, allocations: 188 kB / 0.6574 GB, free: 4.199 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.4261, allocations: 163.7 kB / 0.6575 GB, free: 4.031 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001047/0.4262, allocations: 184.2 kB / 0.6577 GB, free: 3.844 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-05/0.4263, allocations: 184.3 kB / 0.6579 GB, free: 3.656 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.317e-05/0.4263, allocations: 184.2 kB / 0.6581 GB, free: 3.469 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004609/0.4268, allocations: 0.6456 MB / 0.6587 GB, free: 2.766 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.852e-05/0.4268, allocations: 105 kB / 0.6588 GB, free: 2.656 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-05/0.4269, allocations: 104.9 kB / 0.6589 GB, free: 2.547 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.492e-05/0.4269, allocations: 180.2 kB / 0.6591 GB, free: 2.363 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.268e-05/0.427, allocations: 188.2 kB / 0.6592 GB, free: 2.172 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.695e-05/0.4271, allocations: 184.3 kB / 0.6594 GB, free: 1.984 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.187e-05/0.4271, allocations: 180.2 kB / 0.6596 GB, free: 1.801 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.4273, allocations: 382.9 kB / 0.66 GB, free: 1.402 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.4275, allocations: 261 kB / 0.6602 GB, free: 1.121 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.4276, allocations: 180.3 kB / 0.6604 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.4278, allocations: 109.3 kB / 0.6605 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.4279, allocations: 180.2 kB / 0.6607 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/0.428, allocations: 105 kB / 0.6608 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006042/0.4286, allocations: 0.5232 MB / 0.6613 GB, free: 15.99 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4286, allocations: 0 / 0.6613 GB, free: 15.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001739/0.4303, allocations: 0.7455 MB / 0.662 GB, free: 15.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002266/0.4326, allocations: 1.009 MB / 0.663 GB, free: 14.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.4327, allocations: 43.86 kB / 0.663 GB, free: 14.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4327, allocations: 3.938 kB / 0.663 GB, free: 14.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.826e-06/0.4327, allocations: 4.688 kB / 0.663 GB, free: 14.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/0.435, allocations: 0.9547 MB / 0.664 GB, free: 13.22 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.4363, allocations: 1.132 MB / 0.6651 GB, free: 12.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.4367, allocations: 0.8824 MB / 0.6659 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003706/0.4371, allocations: 125.5 kB / 0.666 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.89e-05/0.4372, allocations: 55.36 kB / 0.6661 GB, free: 10.96 MB / 490.7 MB Notification: Performance of SimCode: time 6.92e-07/0.4372, allocations: 0 / 0.6661 GB, free: 10.96 MB / 490.7 MB Notification: Performance of Templates: time 0.2333/0.6705, allocations: 26 MB / 0.6915 GB, free: 137.2 MB / 490.7 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestSources.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1)