Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.217/1.217, allocations: 255.9 MB / 271.2 MB, free: 8.906 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.0008616/0.0008616, allocations: 177.9 kB / 330.8 MB, free: 500 kB / 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 1.339/1.339, allocations: 225.7 MB / 0.6016 GB, free: 1.652 MB / 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.0007592/0.0007592, allocations: 101.4 kB / 0.709 GB, free: 7.117 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002903, allocations: 12.75 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1538, allocations: 109.2 MB / 0.9327 GB, free: 6.309 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001221/0.155, allocations: 1.154 MB / 0.9339 GB, free: 5.145 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.1561, allocations: 1.145 MB / 0.935 GB, free: 3.898 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.534e-05/0.1561, allocations: 0 / 0.935 GB, free: 3.898 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.1562, allocations: 3.938 kB / 0.935 GB, free: 3.895 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 5.492e-05/0.1562, allocations: 3.984 kB / 0.935 GB, free: 3.891 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.1566, allocations: 107.7 kB / 0.9351 GB, free: 3.785 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 5.112e-05/0.1567, allocations: 27.92 kB / 0.9351 GB, free: 3.758 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 7.131e-05/0.1567, allocations: 7.984 kB / 0.9351 GB, free: 3.75 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.866e-05/0.1568, allocations: 19.88 kB / 0.9352 GB, free: 3.73 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.509e-05/0.1568, allocations: 15.97 kB / 0.9352 GB, free: 3.715 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.1569, allocations: 8 kB / 0.9352 GB, free: 3.707 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003507/0.1572, allocations: 299.4 kB / 0.9355 GB, free: 3.414 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.1572, allocations: 11.92 kB / 0.9355 GB, free: 3.402 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.1573, allocations: 37.62 kB / 0.9355 GB, free: 3.359 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.1575, allocations: 187.7 kB / 0.9357 GB, free: 3.176 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1575, allocations: 4 kB / 0.9357 GB, free: 3.172 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1575, allocations: 0 / 0.9357 GB, free: 3.172 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.1575, allocations: 3.938 kB / 0.9357 GB, free: 3.168 MB / 0.573 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.0003759/0.1579, allocations: 371.8 kB / 0.9361 GB, free: 2.758 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.158, allocations: 15.98 kB / 0.9361 GB, free: 2.742 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003923/0.1584, allocations: 80.75 kB / 0.9361 GB, free: 2.664 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.379e-05/0.1584, allocations: 172.3 kB / 0.9363 GB, free: 2.457 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.1585, allocations: 4.375 kB / 0.9363 GB, free: 2.453 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.1585, allocations: 384 / 0.9363 GB, free: 2.453 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.1588, allocations: 97.94 kB / 0.9364 GB, free: 2.352 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.1588, allocations: 0 / 0.9364 GB, free: 2.352 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1588, allocations: 7.984 kB / 0.9364 GB, free: 2.344 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.279e-06/0.1588, allocations: 0 / 0.9364 GB, free: 2.344 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.1592, allocations: 115.9 kB / 0.9365 GB, free: 2.23 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.1596, allocations: 300.8 kB / 0.9368 GB, free: 1.887 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.1599, allocations: 126.4 kB / 0.9369 GB, free: 1.754 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.1601, allocations: 64.86 kB / 0.937 GB, free: 1.688 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.1601, allocations: 0 / 0.937 GB, free: 1.688 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.1601, allocations: 34.56 kB / 0.937 GB, free: 1.645 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.1601, allocations: 0 / 0.937 GB, free: 1.645 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.0006709/0.1608, allocations: 213.5 kB / 0.9372 GB, free: 1.43 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.759e-05/0.1609, allocations: 51.41 kB / 0.9373 GB, free: 1.367 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.757e-05/0.1609, allocations: 101.8 kB / 0.9374 GB, free: 1.258 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.1609, allocations: 25.7 kB / 0.9374 GB, free: 1.227 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.223e-05/0.1609, allocations: 84.14 kB / 0.9375 GB, free: 1.141 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.161, allocations: 7.906 kB / 0.9375 GB, free: 1.133 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.161, allocations: 0 / 0.9375 GB, free: 1.133 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 3.681e-05/0.161, allocations: 314.9 kB / 0.9378 GB, free: 0.8164 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.1612, allocations: 51.95 kB / 0.9378 GB, free: 0.7656 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.1614, allocations: 67.94 kB / 0.9379 GB, free: 0.6992 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.1617, allocations: 120.7 kB / 0.938 GB, free: 0.5781 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1617, allocations: 0 / 0.938 GB, free: 0.5781 MB / 0.573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003677/0.1621, allocations: 145.5 kB / 0.9382 GB, free: 440 kB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1621, allocations: 11.91 kB / 0.9382 GB, free: 428 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1621, allocations: 0 / 0.9382 GB, free: 428 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1621, allocations: 3.938 kB / 0.9382 GB, free: 424 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.1623, allocations: 32 kB / 0.9382 GB, free: 392 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1623, allocations: 0 / 0.9382 GB, free: 392 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.1624, allocations: 23.97 kB / 0.9382 GB, free: 368 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1624, allocations: 0 / 0.9382 GB, free: 368 kB / 0.573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.603e-05/0.1625, allocations: 119.8 kB / 0.9383 GB, free: 240 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.1625, allocations: 4 kB / 0.9383 GB, free: 236 kB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.1625, allocations: 7.109 kB / 0.9384 GB, free: 224 kB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1625, allocations: 0 / 0.9384 GB, free: 224 kB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1625, allocations: 0 / 0.9384 GB, free: 224 kB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1625, allocations: 0 / 0.9384 GB, free: 224 kB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.1627, allocations: 177.5 kB / 0.9385 GB, free: 16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1627, allocations: 0 / 0.9385 GB, free: 16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.1628, allocations: 31.97 kB / 0.9386 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1628, allocations: 0 / 0.9386 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1628, allocations: 4 kB / 0.9386 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.1628, allocations: 3.984 kB / 0.9386 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1629, allocations: 256 / 0.9386 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004434/0.1633, allocations: 243.3 kB / 0.9388 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/0.1633, allocations: 81.09 kB / 0.9389 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.1634, allocations: 8 kB / 0.9389 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.1635, allocations: 24.02 kB / 0.9389 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.1635, allocations: 3.984 kB / 0.9389 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.1636, allocations: 0 / 0.9389 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.333e-05/0.1636, allocations: 83.28 kB / 0.939 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.1636, allocations: 0 / 0.939 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002/0.1638, allocations: 12 kB / 0.939 GB, free: 15.48 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 (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.0001385/0.1639, allocations: 119.2 kB / 0.9391 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004339/0.1644, allocations: 115.9 kB / 0.9392 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.1644, allocations: 8 kB / 0.9392 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.1646, allocations: 63.88 kB / 0.9393 GB, free: 15.17 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.1648, allocations: 12 kB / 0.9393 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.1653, allocations: 180.6 kB / 0.9395 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.1655, allocations: 0.677 MB / 0.9401 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.112e-05/0.1656, allocations: 19.97 kB / 0.9402 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.1656, allocations: 7.438 kB / 0.9402 GB, free: 14.22 MB / 0.5886 GB Notification: Performance of SimCode: time 1.9e-07/0.1656, allocations: 0 / 0.9402 GB, free: 14.22 MB / 0.5886 GB Notification: Performance of Templates: time 0.002375/0.168, allocations: 0.7181 MB / 0.9409 GB, free: 13.51 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)