Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001134/0.001134, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.00124/0.00124, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8869/0.8869, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.809/1.809, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.904e-06/1.904e-06, allocations: 0 / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.172e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001879/0.001901, allocations: 0.7722 MB / 1 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.003911, allocations: 1.451 MB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.326e-05/0.003955, allocations: 0 / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.611e-05/0.003991, allocations: 7.875 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.653e-05/0.004037, allocations: 0 / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006274/0.004665, allocations: 157.9 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.004778, allocations: 51.89 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.353e-05/0.004831, allocations: 7.984 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.004953, allocations: 35.91 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/0.005019, allocations: 27.95 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.005042, allocations: 4 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004055/0.005447, allocations: 251.5 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.564e-05/0.005473, allocations: 15.91 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.005503, allocations: 12 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.005871, allocations: 231.3 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.005875, allocations: 0 / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.313e-06/0.005876, allocations: 0 / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.005882, allocations: 0 / 1.003 GB, free: 10.4 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.0006216/0.006503, allocations: 332 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.006551, allocations: 12.75 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.006594, allocations: 34.75 kB / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003999/0.006994, allocations: 76.8 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.747e-05/0.007092, allocations: 113.7 kB / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.007122, allocations: 4.375 kB / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.00715, allocations: 8.375 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.007507, allocations: 161.6 kB / 1.003 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.007521, allocations: 192 / 1.003 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.00754, allocations: 8.125 kB / 1.003 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.007545, allocations: 4 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/0.007958, allocations: 99.89 kB / 1.003 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.008552, allocations: 299.7 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/0.009112, allocations: 154.4 kB / 1.004 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.009309, allocations: 56.81 kB / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.00933, allocations: 0 / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.009365, allocations: 38.56 kB / 1.004 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.009367, allocations: 3.938 kB / 1.004 GB, free: 8.879 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.009441/0.01881, allocations: 2.68 MB / 1.007 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.01884, allocations: 55.41 kB / 1.007 GB, free: 6.074 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.178e-05/0.01891, allocations: 101.8 kB / 1.007 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.01894, allocations: 33.8 kB / 1.007 GB, free: 5.926 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.01898, allocations: 91.97 kB / 1.007 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.657e-05/0.01904, allocations: 43.62 kB / 1.007 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.01916, allocations: 69.58 kB / 1.007 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.942e-05/0.01924, allocations: 322.8 kB / 1.007 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/0.01962, allocations: 191.8 kB / 1.007 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.02, allocations: 199.7 kB / 1.008 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007993/0.0208, allocations: 399 kB / 1.008 GB, free: 4.617 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.0208, allocations: 0 / 1.008 GB, free: 4.617 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009469/0.02175, allocations: 477.1 kB / 1.009 GB, free: 4.145 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.02177, allocations: 5.719 kB / 1.009 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.02178, allocations: 0 / 1.009 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.02179, allocations: 0 / 1.009 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/0.02221, allocations: 107.8 kB / 1.009 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.02221, allocations: 0 / 1.009 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.0225, allocations: 47.88 kB / 1.009 GB, free: 3.988 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.02254, allocations: 31.92 kB / 1.009 GB, free: 3.957 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.0001239/0.02266, allocations: 117.8 kB / 1.009 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.02272, allocations: 7.953 kB / 1.009 GB, free: 3.824 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.385e-05/0.02276, allocations: 12.12 kB / 1.009 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.02276, allocations: 0 / 1.009 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.02277, allocations: 0 / 1.009 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.02278, allocations: 3.984 kB / 1.009 GB, free: 3.805 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.02418, allocations: 0.9878 MB / 1.01 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02418, allocations: 0 / 1.01 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003899/0.02457, allocations: 103.7 kB / 1.01 GB, free: 2.609 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.02457, allocations: 8 kB / 1.01 GB, free: 2.602 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.02461, allocations: 27.92 kB / 1.01 GB, free: 2.574 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.02462, allocations: 3.938 kB / 1.01 GB, free: 2.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.02462, allocations: 0 / 1.01 GB, free: 2.57 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.02606, allocations: 0.788 MB / 1.011 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.02617, allocations: 43.95 kB / 1.011 GB, free: 1.723 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.026e-05/0.02621, allocations: 3.984 kB / 1.011 GB, free: 1.719 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.02653, allocations: 51.88 kB / 1.011 GB, free: 1.668 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.02659, allocations: 23.92 kB / 1.011 GB, free: 1.645 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.02663, allocations: 27.94 kB / 1.011 GB, free: 1.617 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.467e-05/0.02666, allocations: 87.27 kB / 1.011 GB, free: 1.531 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.02666, allocations: 3.938 kB / 1.011 GB, free: 1.527 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002774/0.02694, allocations: 47.94 kB / 1.011 GB, free: 1.48 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.001909/0.02885, allocations: 1.337 MB / 1.012 GB, free: 116 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0008684/0.02971, allocations: 415.5 kB / 1.013 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.02972, allocations: 0 / 1.013 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004101/0.03013, allocations: 223.7 kB / 1.013 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.03048, allocations: 31.8 kB / 1.013 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004773/0.03525, allocations: 2.929 MB / 1.016 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.921e-05/0.03531, allocations: 75.2 kB / 1.016 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003067/0.03561, allocations: 89.14 kB / 1.016 GB, free: 12.27 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.03582, allocations: 68.34 kB / 1.016 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of SimCode: time 8.81e-07/0.03582, allocations: 0 / 1.016 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.05554, allocations: 5.478 MB / 1.021 GB, free: 6.867 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.187/7.242, allocations: 14.94 kB / 1.021 GB, free: 6.855 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 800 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 11.398734240792692] Failed to read output from testmodel.py, exit status != 0: 7.32827356737107 7.338341705 7.33026421 Calling exit ...