Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.715/1.715, allocations: 291.7 MB / 306.8 MB, free: 7.719 MB / 234.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.0009679/0.0009679, allocations: 188.2 kB / 375.4 MB, free: 5.109 MB / 298.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.412/1.412, allocations: 225.7 MB / 0.6538 GB, free: 13.55 MB / 490.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.0008111/0.0008112, allocations: 103 kB / 0.7699 GB, free: 50.27 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.0004097, allocations: 12 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6752/0.6757, allocations: 118.1 MB / 1.011 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0006905/0.6764, allocations: 359.3 kB / 1.011 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.6779, allocations: 1.389 MB / 1.013 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/0.678, allocations: 3.375 kB / 1.013 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.678, allocations: 3.938 kB / 1.013 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.656e-05/0.6781, allocations: 0 / 1.013 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.6784, allocations: 99.08 kB / 1.013 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.866e-05/0.6785, allocations: 20.52 kB / 1.013 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.6785, allocations: 4.516 kB / 1.013 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.446e-05/0.6785, allocations: 14.08 kB / 1.013 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.629e-05/0.6786, allocations: 18.86 kB / 1.013 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.6786, allocations: 3.281 kB / 1.013 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003713/0.679, allocations: 310.3 kB / 1.013 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.679, allocations: 3.719 kB / 1.013 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.679, allocations: 29.64 kB / 1.013 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.6792, allocations: 136.4 kB / 1.013 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6792, allocations: 5.594 kB / 1.013 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6793, allocations: 0 / 1.013 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.6793, allocations: 0 / 1.013 GB, free: 57.33 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003949/0.6797, allocations: 373.1 kB / 1.014 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.6797, allocations: 13.62 kB / 1.014 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/0.68, allocations: 74.55 kB / 1.014 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.6802, allocations: 171.4 kB / 1.014 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.6802, allocations: 5.938 kB / 1.014 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.6802, allocations: 2.562 kB / 1.014 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.6805, allocations: 87.72 kB / 1.014 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.6805, allocations: 4 kB / 1.014 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.6805, allocations: 0 / 1.014 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.6805, allocations: 3.906 kB / 1.014 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.6808, allocations: 88.39 kB / 1.014 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.681, allocations: 169.5 kB / 1.014 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004739/0.6815, allocations: 145.7 kB / 1.014 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.6816, allocations: 46.75 kB / 1.014 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.6817, allocations: 5.688 kB / 1.014 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.6817, allocations: 38.44 kB / 1.014 GB, free: 56.44 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.6817, allocations: 0 / 1.014 GB, free: 56.44 MB / 0.7136 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.003785/0.6855, allocations: 0.9464 MB / 1.015 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.6855, allocations: 51.41 kB / 1.015 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.47e-05/0.6856, allocations: 113.6 kB / 1.015 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.6856, allocations: 32.52 kB / 1.016 GB, free: 56.17 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.3e-05/0.6857, allocations: 92.16 kB / 1.016 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.6857, allocations: 26.31 kB / 1.016 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/0.6857, allocations: 2.812 kB / 1.016 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.437e-05/0.6858, allocations: 317.8 kB / 1.016 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003933/0.6862, allocations: 117.3 kB / 1.016 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/0.6866, allocations: 118.2 kB / 1.016 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007638/0.6873, allocations: 237.8 kB / 1.016 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.6873, allocations: 0 / 1.016 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008407/0.6882, allocations: 293.2 kB / 1.017 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.6882, allocations: 2.844 kB / 1.017 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.6882, allocations: 2.469 kB / 1.017 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.6882, allocations: 2.906 kB / 1.017 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.6886, allocations: 69.55 kB / 1.017 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.6886, allocations: 3.844 kB / 1.017 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.6888, allocations: 43.06 kB / 1.017 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.6888, allocations: 8.188 kB / 1.017 GB, free: 55.64 MB / 0.7136 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 (9): * Single equations (assignments): 9 * 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.029e-05/0.6889, allocations: 116.6 kB / 1.017 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.6889, allocations: 4 kB / 1.017 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.754e-05/0.689, allocations: 17.73 kB / 1.017 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.689, allocations: 3.688 kB / 1.017 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.689, allocations: 0 / 1.017 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.689, allocations: 0 / 1.017 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.6905, allocations: 0.6547 MB / 1.018 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6905, allocations: 4.062 kB / 1.018 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.6907, allocations: 70.17 kB / 1.018 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6907, allocations: 0 / 1.018 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.6908, allocations: 6.922 kB / 1.018 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.6908, allocations: 2.781 kB / 1.018 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6908, allocations: 0.75 kB / 1.018 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008383/0.6916, allocations: 388.1 kB / 1.018 GB, free: 55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.6916, allocations: 81.98 kB / 1.018 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.6917, allocations: 0 / 1.018 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.6919, allocations: 50.41 kB / 1.018 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.692, allocations: 13.55 kB / 1.018 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.692, allocations: 8.781 kB / 1.018 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.448e-05/0.692, allocations: 88.06 kB / 1.018 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.11e-07/0.692, allocations: 4 kB / 1.018 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002794/0.6923, allocations: 41.61 kB / 1.018 GB, free: 54.81 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0001924/0.6925, allocations: 140.9 kB / 1.018 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008433/0.6934, allocations: 245.7 kB / 1.019 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6934, allocations: 4 kB / 1.019 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.6937, allocations: 129.1 kB / 1.019 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.694, allocations: 11.88 kB / 1.019 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.6954, allocations: 479 kB / 1.019 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.6955, allocations: 0.6884 MB / 1.02 GB, free: 53.82 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001186/0.6956, allocations: 23.95 kB / 1.02 GB, free: 53.81 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.6957, allocations: 20.78 kB / 1.02 GB, free: 53.8 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.6957, allocations: 0 / 1.02 GB, free: 53.8 MB / 0.7136 GB Notification: Performance of Templates: time 0.003554/0.6993, allocations: 1.555 MB / 1.021 GB, free: 53.72 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)