Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8901/0.8901, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.814/1.814, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348e-05/1.471e-05, allocations: 2.281 kB / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001364/0.001379, allocations: 0.6415 MB / 1.001 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.002665, allocations: 1.432 MB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.002688, allocations: 4 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.027e-05/0.002699, allocations: 0 / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-05/0.002754, allocations: 11.88 kB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.003038, allocations: 127.4 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.86e-05/0.003087, allocations: 23.92 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.003122, allocations: 7.984 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.545e-05/0.003168, allocations: 15.98 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.124e-05/0.003219, allocations: 23.91 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.003232, allocations: 0 / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.003484, allocations: 247.4 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.0035, allocations: 8 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.708e-05/0.003517, allocations: 7.922 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.003722, allocations: 195.5 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.003724, allocations: 0 / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.42e-07/0.003725, allocations: 0 / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.003729, allocations: 0 / 1.003 GB, free: 10.73 MB / 0.9636 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.0003667/0.004096, allocations: 309.8 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.004134, allocations: 17.28 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.034e-05/0.004165, allocations: 34.75 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002186/0.004383, allocations: 64.81 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.521e-05/0.004478, allocations: 113.7 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.004494, allocations: 4.375 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.004511, allocations: 4.375 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.004672, allocations: 74.2 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.004683, allocations: 192 / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.004694, allocations: 4.125 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.004698, allocations: 0 / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.004875, allocations: 75.86 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.005008, allocations: 132.8 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.005291, allocations: 126.5 kB / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.21e-05/0.005383, allocations: 44.94 kB / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.005396, allocations: 0 / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.005412, allocations: 34.56 kB / 1.004 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.005413, allocations: 0 / 1.004 GB, free: 9.586 MB / 0.9636 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.002068/0.007481, allocations: 0.7856 MB / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.007513, allocations: 59.39 kB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.091e-05/0.007584, allocations: 117.8 kB / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.007599, allocations: 25.7 kB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.007626, allocations: 80.14 kB / 1.005 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.007661, allocations: 35.69 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.007704, allocations: 29.7 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.01e-05/0.007774, allocations: 318.8 kB / 1.006 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.007998, allocations: 95.89 kB / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.008202, allocations: 95.91 kB / 1.006 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004004/0.008603, allocations: 200.6 kB / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.008603, allocations: 0 / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004654/0.009069, allocations: 245.6 kB / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.009082, allocations: 10.19 kB / 1.006 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.009086, allocations: 4 kB / 1.006 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.009098, allocations: 3.938 kB / 1.006 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.009255, allocations: 51.94 kB / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.00926, allocations: 0 / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.00959, allocations: 35.95 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.009599, allocations: 4 kB / 1.006 GB, free: 7.355 MB / 0.9636 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.453e-05/0.009664, allocations: 113.8 kB / 1.007 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.009677, allocations: 7.891 kB / 1.007 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.00971, allocations: 24.42 kB / 1.007 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.009714, allocations: 3.984 kB / 1.007 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.009718, allocations: 0 / 1.007 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.009721, allocations: 3.938 kB / 1.007 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009005/0.01062, allocations: 0.5574 MB / 1.007 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.01062, allocations: 4.062 kB / 1.007 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.01074, allocations: 51.94 kB / 1.007 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01075, allocations: 0 / 1.007 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.01076, allocations: 7.984 kB / 1.007 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.01076, allocations: 4.75 kB / 1.007 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01076, allocations: 3.938 kB / 1.007 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004757/0.01124, allocations: 340.9 kB / 1.008 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.01125, allocations: 4 kB / 1.008 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.01126, allocations: 4 kB / 1.008 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.01138, allocations: 43.95 kB / 1.008 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.01142, allocations: 7.984 kB / 1.008 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.01142, allocations: 4 kB / 1.008 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.581e-05/0.01146, allocations: 95.2 kB / 1.008 GB, free: 6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01146, allocations: 0 / 1.008 GB, free: 6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000204/0.01166, allocations: 43.86 kB / 1.008 GB, free: 5.957 MB / 0.9636 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 (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.0007261/0.01239, allocations: 0.9014 MB / 1.009 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004651/0.01285, allocations: 203.7 kB / 1.009 GB, free: 4.82 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01286, allocations: 0 / 1.009 GB, free: 4.82 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.01308, allocations: 116.5 kB / 1.009 GB, free: 4.707 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.01325, allocations: 7.984 kB / 1.009 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.01582, allocations: 2.145 MB / 1.011 GB, free: 2.461 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.854e-05/0.01587, allocations: 69.97 kB / 1.011 GB, free: 2.375 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.896e-05/0.01594, allocations: 28.86 kB / 1.011 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.405e-05/0.016, allocations: 28.48 kB / 1.011 GB, free: 2.32 MB / 0.9636 GB Notification: Performance of SimCode: time 5.61e-07/0.016, allocations: 0 / 1.011 GB, free: 2.32 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07652/0.09252, allocations: 3.485 MB / 1.015 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.114/7.206, allocations: 15.56 kB / 1.015 GB, free: 14.97 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.69277803786099]