Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 195.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.633/2.633, allocations: 469.4 MB / 0.742 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 68.84 kB / 0.9083 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2675, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001792/0.2693, allocations: 0.615 MB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001875/0.2712, allocations: 1.452 MB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.096e-05/0.2713, allocations: 4 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.304e-05/0.2713, allocations: 3.938 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.715e-05/0.2713, allocations: 0 / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004915/0.2718, allocations: 143.4 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.469e-05/0.2719, allocations: 23.98 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.2719, allocations: 0 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.116e-05/0.272, allocations: 19.98 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.617e-05/0.2721, allocations: 27.89 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.2721, allocations: 4 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004476/0.2725, allocations: 315.4 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.2726, allocations: 3.984 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.2726, allocations: 15.92 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.2729, allocations: 183.7 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2729, allocations: 0 / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2729, allocations: 4 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2729, allocations: 0 / 1.066 GB, free: 11.71 MB / 0.8262 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.0004976/0.2734, allocations: 367.7 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.2735, allocations: 12.03 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.1e-05/0.2735, allocations: 34.69 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004707/0.274, allocations: 72.75 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.845e-05/0.2741, allocations: 164.4 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.2741, allocations: 384 / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.2742, allocations: 4.375 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.2744, allocations: 81.75 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.2744, allocations: 0 / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.2745, allocations: 0 / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2745, allocations: 0 / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.2748, allocations: 63.94 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.275, allocations: 169.6 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006004/0.2756, allocations: 122.6 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.2757, allocations: 40.92 kB / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004534/0.2762, allocations: 153 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.2762, allocations: 46.48 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.2762, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.001194/0.2774, allocations: 406.5 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.2775, allocations: 55.41 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.631e-05/0.2776, allocations: 93.8 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.2776, allocations: 25.7 kB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.2776, allocations: 84.27 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.2776, allocations: 27.67 kB / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.2777, allocations: 21.72 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.118e-05/0.2778, allocations: 310.8 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.278, allocations: 35.95 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.2781, allocations: 44.03 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.2785, allocations: 76.8 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.2785, allocations: 0 / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003734/0.2789, allocations: 117.5 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2789, allocations: 13.5 kB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2789, allocations: 0 / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.2789, allocations: 0 / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.2791, allocations: 23.92 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2791, allocations: 0 / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.2792, allocations: 19.98 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.2792, allocations: 3.984 kB / 1.069 GB, free: 8.781 MB / 0.8262 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 8.301e-05/0.2793, allocations: 109.8 kB / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.2793, allocations: 3.938 kB / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/0.2798, allocations: 137.2 kB / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2798, allocations: 4 kB / 1.069 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2798, allocations: 0 / 1.069 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.2798, allocations: 0 / 1.069 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.28, allocations: 161.7 kB / 1.069 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.28, allocations: 7.875 kB / 1.069 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.2801, allocations: 19.98 kB / 1.069 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2801, allocations: 4 kB / 1.069 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.2802, allocations: 4 kB / 1.069 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2802, allocations: 4.234 kB / 1.069 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2802, allocations: 4 kB / 1.069 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000591/0.2808, allocations: 185 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.76e-05/0.2809, allocations: 92.97 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.2809, allocations: 0 / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.281, allocations: 20.05 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.2811, allocations: 3.984 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.2811, allocations: 4 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.329e-05/0.2811, allocations: 83.22 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2811, allocations: 3.938 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002501/0.2814, allocations: 35.98 kB / 1.07 GB, free: 7.812 MB / 0.8262 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.0009592/0.2823, allocations: 0.7419 MB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003834/0.2827, allocations: 87.92 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.2828, allocations: 0 / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.2829, allocations: 43.91 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.2831, allocations: 11.98 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.2852, allocations: 1.348 MB / 1.072 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.2855, allocations: 0.6885 MB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001126/0.2856, allocations: 16 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.642e-05/0.2857, allocations: 15.42 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.2857, allocations: 0 / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.3083, allocations: 2.044 MB / 1.075 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.457/7.765, allocations: 0 / 1.075 GB, free: 2.797 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)