Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_InverseXRegularized",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.001106/0.00111, 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.001168/0.001168, allocations: 194.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.673/1.673, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 70.97 kB / 0.6716 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.296, allocations: 114.6 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003149/0.2992, allocations: 1.43 MB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.3006, allocations: 0.8361 MB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.169e-05/0.3007, allocations: 0 / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.3007, allocations: 0 / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.048e-05/0.3008, allocations: 3.938 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.3013, allocations: 131.5 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.962e-05/0.3014, allocations: 31.91 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3015, allocations: 7.984 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.074e-05/0.3015, allocations: 19.92 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.031e-05/0.3016, allocations: 19.92 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.3016, allocations: 4 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000583/0.3022, allocations: 323.3 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.3022, allocations: 7.984 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.3023, allocations: 11.94 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.3027, allocations: 195.9 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3027, allocations: 0 / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3027, allocations: 0 / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.3027, allocations: 0 / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006067/0.3033, allocations: 375.4 kB / 0.7868 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.3034, allocations: 8.031 kB / 0.7868 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.755e-05/0.3034, allocations: 34.75 kB / 0.7868 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004704/0.3039, allocations: 68.84 kB / 0.7869 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.304, allocations: 176.2 kB / 0.787 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.3041, allocations: 4.312 kB / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.3041, allocations: 384 / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.3044, allocations: 93.69 kB / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3044, allocations: 0 / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3045, allocations: 0 / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3045, allocations: 4 kB / 0.7871 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004369/0.3049, allocations: 87.89 kB / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005688/0.3055, allocations: 296.9 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.3059, allocations: 98.44 kB / 0.7876 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.3061, allocations: 48.88 kB / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.3061, allocations: 0 / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.3062, allocations: 46.55 kB / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3062, allocations: 0 / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0007169/0.3069, allocations: 157.6 kB / 0.7878 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.307, allocations: 51.41 kB / 0.7879 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.008e-05/0.307, allocations: 105.8 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.653e-05/0.3071, allocations: 29.83 kB / 0.788 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.3072, allocations: 88.08 kB / 0.7881 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.3072, allocations: 7.844 kB / 0.7881 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.3073, allocations: 17.7 kB / 0.7881 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3074, allocations: 318.8 kB / 0.7884 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.3076, allocations: 47.95 kB / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.3078, allocations: 39.95 kB / 0.7885 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.3082, allocations: 88.83 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3082, allocations: 0 / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004488/0.3087, allocations: 129.5 kB / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3087, allocations: 8.031 kB / 0.7887 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3087, allocations: 4 kB / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3087, allocations: 0 / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.3089, allocations: 23.91 kB / 0.7888 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3089, allocations: 0 / 0.7888 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.309, allocations: 23.97 kB / 0.7888 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.3091, allocations: 0 / 0.7888 GB, free: 7.699 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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 9.505e-05/0.3092, allocations: 109.8 kB / 0.7889 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.3092, allocations: 4 kB / 0.7889 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.3092, allocations: 7.125 kB / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3092, allocations: 0 / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3092, allocations: 0 / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3093, allocations: 3.984 kB / 0.7889 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.3094, allocations: 169.6 kB / 0.7891 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3095, allocations: 4 kB / 0.7891 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.3096, allocations: 23.97 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3096, allocations: 3.938 kB / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3096, allocations: 0 / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3096, allocations: 0 / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3096, allocations: 0 / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000529/0.3102, allocations: 223.3 kB / 0.7893 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.3102, allocations: 89.05 kB / 0.7894 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.3103, allocations: 3.984 kB / 0.7894 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.3104, allocations: 16.23 kB / 0.7894 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.3105, allocations: 3.984 kB / 0.7894 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.3105, allocations: 4 kB / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.86e-05/0.3105, allocations: 87.22 kB / 0.7895 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3105, allocations: 0 / 0.7895 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002509/0.3108, allocations: 20 kB / 0.7895 GB, free: 6.848 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0008796/0.3117, allocations: 0.7592 MB / 0.7903 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004664/0.3122, allocations: 99.88 kB / 0.7904 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3122, allocations: 0 / 0.7904 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.3124, allocations: 52 kB / 0.7904 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.3127, allocations: 4 kB / 0.7904 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007649/0.3135, allocations: 195.1 kB / 0.7906 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.3138, allocations: 0.6768 MB / 0.7913 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.973e-05/0.3139, allocations: 15.98 kB / 0.7913 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.314, allocations: 11.44 kB / 0.7913 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of SimCode: time 6.31e-07/0.314, allocations: 4 kB / 0.7913 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.3323, allocations: 1.647 MB / 0.7929 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.124/7.456, allocations: 6.438 kB / 0.7929 GB, free: 3.359 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)