Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) 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) 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) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.394/2.394, allocations: 254.9 MB / 269.9 MB, free: 9.625 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 188.5 kB / 329.5 MB, free: 1.141 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.358/2.358, allocations: 225.6 MB / 0.6001 GB, free: 424 kB / 426.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.001017/0.001016, allocations: 95.42 kB / 0.7074 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004925/0.0004927, allocations: 11.59 kB / 0.8242 GB, free: 125 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2023, allocations: 109.1 MB / 0.9308 GB, free: 24.9 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001658/0.204, allocations: 1.15 MB / 0.9319 GB, free: 23.74 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002604/0.2043, allocations: 92.69 kB / 0.932 GB, free: 23.65 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.2044, allocations: 0 / 0.932 GB, free: 23.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.2044, allocations: 4 kB / 0.932 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.074e-05/0.2045, allocations: 3.938 kB / 0.932 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.2046, allocations: 11.98 kB / 0.932 GB, free: 23.63 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.617e-05/0.2047, allocations: 23.92 kB / 0.932 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.372e-05/0.2048, allocations: 4 kB / 0.932 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.918e-05/0.2049, allocations: 11.92 kB / 0.932 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.789e-05/0.2049, allocations: 8 kB / 0.932 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.2049, allocations: 0 / 0.932 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.179e-05/0.205, allocations: 11.98 kB / 0.9321 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.205, allocations: 23.84 kB / 0.9321 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.998e-05/0.2051, allocations: 25.7 kB / 0.9321 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.693e-05/0.2051, allocations: 19.97 kB / 0.9321 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2052, allocations: 0 / 0.9321 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2052, allocations: 0 / 0.9321 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.2052, allocations: 0 / 0.9321 GB, free: 23.5 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004368/0.2056, allocations: 343.7 kB / 0.9324 GB, free: 23.11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2057, allocations: 12.03 kB / 0.9325 GB, free: 23.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.2059, allocations: 16.83 kB / 0.9325 GB, free: 23.08 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.439e-05/0.206, allocations: 172.4 kB / 0.9326 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.2061, allocations: 384 / 0.9326 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.2061, allocations: 384 / 0.9326 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.2064, allocations: 70.17 kB / 0.9327 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2064, allocations: 192 / 0.9327 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.2064, allocations: 3.938 kB / 0.9327 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.2064, allocations: 0 / 0.9327 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003906/0.2068, allocations: 67.94 kB / 0.9328 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.2072, allocations: 260.9 kB / 0.933 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.2075, allocations: 66.48 kB / 0.9331 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.2077, allocations: 40.89 kB / 0.9331 GB, free: 22.31 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.2078, allocations: 3.938 kB / 0.9331 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.2078, allocations: 30.56 kB / 0.9332 GB, free: 22.27 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.893e-06/0.2078, allocations: 0 / 0.9332 GB, free: 22.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0006669/0.2085, allocations: 133.7 kB / 0.9333 GB, free: 22.13 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.2085, allocations: 51.41 kB / 0.9333 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.121e-05/0.2086, allocations: 105.8 kB / 0.9334 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.2086, allocations: 25.7 kB / 0.9335 GB, free: 21.92 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.2087, allocations: 84.05 kB / 0.9335 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.2087, allocations: 11.92 kB / 0.9336 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/0.2087, allocations: 0 / 0.9336 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.675e-05/0.2088, allocations: 314.8 kB / 0.9339 GB, free: 21.51 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.209, allocations: 32.02 kB / 0.9339 GB, free: 21.48 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.2092, allocations: 35.91 kB / 0.9339 GB, free: 21.44 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.2094, allocations: 36.03 kB / 0.934 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2094, allocations: 3.938 kB / 0.934 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004218/0.2098, allocations: 97.5 kB / 0.9341 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2099, allocations: 4 kB / 0.9341 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2099, allocations: 0 / 0.9341 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.2099, allocations: 0 / 0.9341 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.2101, allocations: 19.98 kB / 0.9341 GB, free: 21.28 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.2101, allocations: 0 / 0.9341 GB, free: 21.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.2102, allocations: 16.02 kB / 0.9341 GB, free: 21.26 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.2102, allocations: 0 / 0.9341 GB, free: 21.26 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.202e-05/0.2103, allocations: 113.8 kB / 0.9342 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.2104, allocations: 0 / 0.9342 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.2104, allocations: 11.52 kB / 0.9342 GB, free: 21.13 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.2104, allocations: 4 kB / 0.9342 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2104, allocations: 0 / 0.9342 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2104, allocations: 3.938 kB / 0.9342 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.2106, allocations: 169.6 kB / 0.9344 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2107, allocations: 256 / 0.9344 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.2108, allocations: 15.98 kB / 0.9344 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.2108, allocations: 4 kB / 0.9344 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.2108, allocations: 0 / 0.9344 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.2109, allocations: 4 kB / 0.9344 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2109, allocations: 0 / 0.9344 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.2113, allocations: 199.3 kB / 0.9346 GB, free: 20.67 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.528e-05/0.2114, allocations: 77.11 kB / 0.9347 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.2114, allocations: 0 / 0.9347 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.2116, allocations: 19.95 kB / 0.9347 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.2116, allocations: 4 kB / 0.9347 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.2116, allocations: 0 / 0.9347 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.829e-05/0.2117, allocations: 87.27 kB / 0.9348 GB, free: 20.47 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2117, allocations: 0 / 0.9348 GB, free: 20.47 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000268/0.212, allocations: 4 kB / 0.9348 GB, free: 20.46 MB / 0.5886 GB 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001071/0.2121, allocations: 111.7 kB / 0.9349 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004286/0.2125, allocations: 59.95 kB / 0.9349 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2125, allocations: 0 / 0.9349 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.2127, allocations: 40.03 kB / 0.935 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.2131, allocations: 3.938 kB / 0.935 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.2135, allocations: 136.7 kB / 0.9351 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.2137, allocations: 0.6809 MB / 0.9358 GB, free: 19.38 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.777e-05/0.2137, allocations: 3.938 kB / 0.9358 GB, free: 19.38 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.2138, allocations: 7.438 kB / 0.9358 GB, free: 19.37 MB / 0.5886 GB Notification: Performance of SimCode: time 9.02e-07/0.2138, allocations: 0 / 0.9358 GB, free: 19.37 MB / 0.5886 GB Notification: Performance of Templates: time 0.002946/0.2167, allocations: 0.4959 MB / 0.9363 GB, free: 18.88 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)