Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.001176/0.001176, 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.0009347/0.0009347, 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.8714/0.8714, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.699/1.699, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.InverseXDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.981 GB, free: 1.383 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.967e-05, allocations: 2.281 kB / 0.981 GB, free: 1.379 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001373/0.001393, allocations: 0.5988 MB / 0.9816 GB, free: 0.7852 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.002868, allocations: 1.439 MB / 0.983 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.002893, allocations: 0 / 0.983 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.706e-05/0.00291, allocations: 3.938 kB / 0.983 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.591e-05/0.002936, allocations: 0 / 0.983 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/0.003379, allocations: 147.4 kB / 0.9832 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.627e-05/0.003445, allocations: 23.97 kB / 0.9832 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.003489, allocations: 4 kB / 0.9832 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.461e-05/0.003544, allocations: 19.98 kB / 0.9832 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.078e-05/0.003615, allocations: 19.95 kB / 0.9832 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.003632, allocations: 0 / 0.9832 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002822/0.003914, allocations: 255.4 kB / 0.9835 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.003933, allocations: 7.984 kB / 0.9835 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.00396, allocations: 15.92 kB / 0.9835 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.004205, allocations: 199.5 kB / 0.9837 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.004208, allocations: 0 / 0.9837 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.273e-06/0.004209, allocations: 0 / 0.9837 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.004214, allocations: 0 / 0.9837 GB, free: 14.64 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004131/0.004627, allocations: 297.9 kB / 0.984 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.004674, allocations: 8.031 kB / 0.984 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.004712, allocations: 42.69 kB / 0.984 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002821/0.004994, allocations: 68.84 kB / 0.9841 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.186e-05/0.005076, allocations: 101.8 kB / 0.9842 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.0051, allocations: 12.31 kB / 0.9842 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.005121, allocations: 384 / 0.9842 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.005311, allocations: 103.9 kB / 0.9843 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.005317, allocations: 192 / 0.9843 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.00533, allocations: 4.125 kB / 0.9843 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.005335, allocations: 0 / 0.9843 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.005504, allocations: 63.94 kB / 0.9843 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.005682, allocations: 132.8 kB / 0.9845 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/0.006083, allocations: 126.5 kB / 0.9846 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.077e-05/0.006174, allocations: 44.92 kB / 0.9846 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002607/0.006435, allocations: 75.91 kB / 0.9847 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.006459, allocations: 30.56 kB / 0.9847 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.00646, allocations: 4 kB / 0.9847 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of matching and sorting (n=5): time 0.0007918/0.007251, allocations: 329 kB / 0.9851 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.007284, allocations: 59.39 kB / 0.9851 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.214e-05/0.007336, allocations: 97.8 kB / 0.9852 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.007349, allocations: 25.7 kB / 0.9852 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.291e-05/0.007372, allocations: 84.14 kB / 0.9853 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.0074, allocations: 15.84 kB / 0.9853 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.00744, allocations: 25.7 kB / 0.9854 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.922e-05/0.007519, allocations: 310.8 kB / 0.9856 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.156e-05/0.007611, allocations: 40.03 kB / 0.9857 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-05/0.007691, allocations: 39.95 kB / 0.9857 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.007859, allocations: 76.8 kB / 0.9858 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.00786, allocations: 0 / 0.9858 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002021/0.008062, allocations: 105.6 kB / 0.9859 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.008075, allocations: 8 kB / 0.9859 GB, free: 12.13 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.008084, allocations: 3.938 kB / 0.9859 GB, free: 12.13 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.008097, allocations: 0 / 0.9859 GB, free: 12.13 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.863e-05/0.008176, allocations: 28.22 kB / 0.9859 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.008181, allocations: 3.938 kB / 0.9859 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.008227, allocations: 15.98 kB / 0.986 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.008235, allocations: 4 kB / 0.986 GB, free: 12.08 MB / 0.9011 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 (6): * Single equations (assignments): 6 * 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.286e-05/0.008298, allocations: 109.8 kB / 0.9861 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.008313, allocations: 12.27 kB / 0.9861 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/0.008607, allocations: 133.4 kB / 0.9862 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.008609, allocations: 0 / 0.9862 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.008615, allocations: 3.984 kB / 0.9862 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.008621, allocations: 7.922 kB / 0.9862 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.008742, allocations: 132.8 kB / 0.9863 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.008744, allocations: 0 / 0.9863 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.008881, allocations: 31.91 kB / 0.9864 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.008884, allocations: 0 / 0.9864 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.008896, allocations: 3.938 kB / 0.9864 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.008898, allocations: 4 kB / 0.9864 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.0089, allocations: 0 / 0.9864 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004735/0.009373, allocations: 181 kB / 0.9866 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/0.009427, allocations: 11.94 kB / 0.9866 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.009447, allocations: 7.969 kB / 0.9866 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.188e-05/0.009539, allocations: 19.98 kB / 0.9866 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.009563, allocations: 0 / 0.9866 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.009575, allocations: 7.984 kB / 0.9866 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.384e-05/0.009609, allocations: 75.28 kB / 0.9867 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9e-08/0.009609, allocations: 0 / 0.9867 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002893/0.009898, allocations: 35.88 kB / 0.9867 GB, free: 11.24 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0007945/0.01069, allocations: 0.7491 MB / 0.9874 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.01091, allocations: 84.05 kB / 0.9875 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01091, allocations: 4 kB / 0.9875 GB, free: 10.37 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 8.099e-05/0.01099, allocations: 43.91 kB / 0.9876 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.01112, allocations: 7.203 kB / 0.9876 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.0126, allocations: 1.368 MB / 0.9889 GB, free: 8.871 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.759e-05/0.01264, allocations: 63.34 kB / 0.989 GB, free: 8.789 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 6.999e-05/0.01271, allocations: 19.91 kB / 0.989 GB, free: 8.77 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.078e-05/0.01276, allocations: 20.48 kB / 0.989 GB, free: 8.75 MB / 0.9011 GB Notification: Performance of SimCode: time 8.01e-07/0.01276, allocations: 0 / 0.989 GB, free: 8.75 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.03108, allocations: 2.756 MB / 0.9917 GB, free: 6.133 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.937/6.968, allocations: 7.25 kB / 0.9917 GB, free: 6.129 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 10.964899210259318] Failed to read output from testmodel.py, exit status != 0: 7.052785514853895 7.068309152 7.062022864 Calling exit ...