Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.0007614/0.0007614, 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.0007807/0.0007807, 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.9056/0.9056, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.822/1.822, allocations: 389.6 MB / 0.6343 GB, free: 12.59 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.InverseXDerivative_2_Check,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.364e-05, allocations: 13.59 kB / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001401/0.001415, allocations: 0.7722 MB / 1.001 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.004514/0.005929, allocations: 1.467 MB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.826e-05/0.005957, allocations: 0 / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.268e-05/0.00598, allocations: 3.938 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.101e-05/0.006011, allocations: 0 / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.006389, allocations: 150.6 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.683e-05/0.006466, allocations: 59.81 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 2.843e-05/0.006494, allocations: 0 / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.219e-05/0.006566, allocations: 35.97 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.481e-05/0.006611, allocations: 23.89 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.006626, allocations: 4 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.006916, allocations: 251.5 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.006934, allocations: 15.97 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.00696, allocations: 23.92 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.007221, allocations: 227.4 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.007222, allocations: 4 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.51e-07/0.007223, allocations: 0 / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.855e-06/0.007226, allocations: 0 / 1.004 GB, free: 10.43 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004216/0.007647, allocations: 325.8 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.00768, allocations: 9.344 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.007713, allocations: 42.73 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003296/0.01101, allocations: 68.81 kB / 1.004 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.147e-05/0.01108, allocations: 117.7 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.0111, allocations: 4.375 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.01112, allocations: 4.375 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.01138, allocations: 165.6 kB / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.01138, allocations: 192 / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.0114, allocations: 8.062 kB / 1.004 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.0114, allocations: 0 / 1.004 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.0117, allocations: 103.9 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/0.01211, allocations: 299.7 kB / 1.005 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.01252, allocations: 150.4 kB / 1.005 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.01266, allocations: 56.81 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.01267, allocations: 8 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.01269, allocations: 30.56 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.01269, allocations: 0 / 1.005 GB, free: 8.922 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=11): time 0.01824/0.03093, allocations: 2.683 MB / 1.008 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.03095, allocations: 51.41 kB / 1.008 GB, free: 6.117 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.066e-05/0.03101, allocations: 105.8 kB / 1.008 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.03105, allocations: 25.7 kB / 1.008 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.03109, allocations: 92.03 kB / 1.008 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.03114, allocations: 47.62 kB / 1.008 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.03127, allocations: 69.58 kB / 1.008 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.006e-05/0.03135, allocations: 326.8 kB / 1.008 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004562/0.0318, allocations: 187.8 kB / 1.008 GB, free: 5.246 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/0.03226, allocations: 191.8 kB / 1.009 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009588/0.03322, allocations: 400.7 kB / 1.009 GB, free: 4.664 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.03322, allocations: 0 / 1.009 GB, free: 4.664 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00112/0.03434, allocations: 476.8 kB / 1.01 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.03435, allocations: 4 kB / 1.01 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.03435, allocations: 0 / 1.01 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.03437, allocations: 4 kB / 1.01 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004964/0.03486, allocations: 107.8 kB / 1.01 GB, free: 4.082 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.03487, allocations: 0 / 1.01 GB, free: 4.082 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/0.03522, allocations: 55.81 kB / 1.01 GB, free: 4.027 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/0.03526, allocations: 23.94 kB / 1.01 GB, free: 4.004 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 (13): * Single equations (assignments): 13 * 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.0001119/0.03538, allocations: 117.8 kB / 1.01 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.755e-05/0.03544, allocations: 8.141 kB / 1.01 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.02e-05/0.03548, allocations: 16.09 kB / 1.01 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.03549, allocations: 4 kB / 1.01 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.03549, allocations: 4 kB / 1.01 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.03549, allocations: 0 / 1.01 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.03711, allocations: 0.98 MB / 1.011 GB, free: 2.758 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.03711, allocations: 0 / 1.011 GB, free: 2.758 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004798/0.03759, allocations: 111.8 kB / 1.011 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.0376, allocations: 3.938 kB / 1.011 GB, free: 2.645 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.365e-05/0.03764, allocations: 27.86 kB / 1.011 GB, free: 2.617 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.03764, allocations: 3.938 kB / 1.011 GB, free: 2.613 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.03764, allocations: 0 / 1.011 GB, free: 2.613 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.03932, allocations: 0.7881 MB / 1.012 GB, free: 1.809 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.03944, allocations: 43.88 kB / 1.012 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.03949, allocations: 0 / 1.012 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000398/0.03988, allocations: 51.94 kB / 1.012 GB, free: 1.715 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.03996, allocations: 31.92 kB / 1.012 GB, free: 1.684 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.322e-05/0.04, allocations: 19.94 kB / 1.012 GB, free: 1.664 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.241e-05/0.04003, allocations: 83.27 kB / 1.012 GB, free: 1.582 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.04003, allocations: 0 / 1.012 GB, free: 1.582 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002567/0.04029, allocations: 55.94 kB / 1.012 GB, free: 1.527 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.001498/0.04179, allocations: 1.345 MB / 1.013 GB, free: 156 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0007615/0.04255, allocations: 419.5 kB / 1.014 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.04255, allocations: 7.938 kB / 1.014 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.04293, allocations: 223.7 kB / 1.014 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.04316, allocations: 15.88 kB / 1.014 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/0.04772, allocations: 2.922 MB / 1.017 GB, free: 12.5 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.671e-05/0.04777, allocations: 79.19 kB / 1.017 GB, free: 12.4 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002928/0.04806, allocations: 92.73 kB / 1.017 GB, free: 12.31 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.04825, allocations: 68.36 kB / 1.017 GB, free: 12.24 MB / 0.9792 GB Notification: Performance of SimCode: time 7.01e-07/0.04825, allocations: 0 / 1.017 GB, free: 12.24 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08376/0.132, allocations: 5.488 MB / 1.022 GB, free: 6.906 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.274/7.406, allocations: 1.125 kB / 1.022 GB, free: 6.906 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=50 --tolerance=1e-08 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating it; the others still get to run it (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_fmpy_res.csv --start-time -1.5 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 11.947799040935934]