Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.657/1.657, allocations: 285.4 MB / 298 MB, free: 5.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 176.8 kB / 366.4 MB, free: 2.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.1 MB / 0.6248 GB, free: 7.727 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008193/0.0008192, allocations: 101 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.344e-05/3.348e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7028/0.7029, allocations: 115.3 MB / 0.971 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1975/0.9005, allocations: 139.1 MB / 1.107 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.9008, allocations: 75.95 kB / 1.107 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01254/0.9134, allocations: 3.785 MB / 1.111 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9134, allocations: 4 kB / 1.111 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.9134, allocations: 0 / 1.111 GB, free: 8.84 MB / 0.7136 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.0004583/0.9139, allocations: 379.4 kB / 1.111 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.9139, allocations: 12.03 kB / 1.111 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.153e-05/0.914, allocations: 30.56 kB / 1.111 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003572/0.9144, allocations: 67.83 kB / 1.111 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.9145, allocations: 163 kB / 1.111 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.9145, allocations: 11.94 kB / 1.111 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.9145, allocations: 4 kB / 1.111 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.9147, allocations: 49.61 kB / 1.111 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.9147, allocations: 0 / 1.111 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.9147, allocations: 1.875 kB / 1.111 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.9147, allocations: 4 kB / 1.111 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.698e-05/0.9148, allocations: 24 kB / 1.111 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004745/0.9153, allocations: 292.9 kB / 1.112 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.217e-05/0.9154, allocations: 34.58 kB / 1.112 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.681e-05/0.9154, allocations: 24.91 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.9155, allocations: 3.938 kB / 1.112 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.9155, allocations: 30.56 kB / 1.112 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.9155, allocations: 4 kB / 1.112 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001874/0.9157, allocations: 49.7 kB / 1.112 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.9157, allocations: 51.41 kB / 1.112 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.718e-05/0.9158, allocations: 101 kB / 1.112 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.9158, allocations: 25.7 kB / 1.112 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.9159, allocations: 80.14 kB / 1.112 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.9159, allocations: 11.84 kB / 1.112 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.9159, allocations: 0 / 1.112 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.9161, allocations: 322.8 kB / 1.112 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.468e-05/0.9161, allocations: 11.98 kB / 1.112 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.174e-05/0.9161, allocations: 12 kB / 1.112 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.2e-05/0.9162, allocations: 11.94 kB / 1.112 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.9162, allocations: 3.656 kB / 1.112 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000108/0.9163, allocations: 57.59 kB / 1.112 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.9163, allocations: 9.719 kB / 1.112 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.9163, allocations: 0 / 1.112 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.9164, allocations: 96 / 1.112 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.9165, allocations: 31.97 kB / 1.112 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.9166, allocations: 0 / 1.112 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.9167, allocations: 23.98 kB / 1.112 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.9167, allocations: 2.375 kB / 1.112 GB, free: 6.727 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.868e-05/0.9168, allocations: 112.9 kB / 1.113 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.9168, allocations: 7.984 kB / 1.113 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.9169, allocations: 3.125 kB / 1.113 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.9169, allocations: 0 / 1.113 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.9169, allocations: 0 / 1.113 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.9169, allocations: 0 / 1.113 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.9171, allocations: 173.6 kB / 1.113 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9171, allocations: 4 kB / 1.113 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.9172, allocations: 31.91 kB / 1.113 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.9172, allocations: 0 / 1.113 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.9172, allocations: 4 kB / 1.113 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.9172, allocations: 0 / 1.113 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.9173, allocations: 0 / 1.113 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.9174, allocations: 155.5 kB / 1.113 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.9175, allocations: 85 kB / 1.113 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.9175, allocations: 4 kB / 1.113 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.9177, allocations: 23.97 kB / 1.113 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.9177, allocations: 4.031 kB / 1.113 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.9177, allocations: 0 / 1.113 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.579e-05/0.9178, allocations: 85.72 kB / 1.113 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9178, allocations: 0 / 1.113 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002325/0.918, allocations: 19.98 kB / 1.113 GB, free: 5.938 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004665/0.9185, allocations: 0.7046 MB / 1.114 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.9186, allocations: 24 kB / 1.114 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.9186, allocations: 0 / 1.114 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.823e-05/0.9187, allocations: 27.92 kB / 1.114 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.9188, allocations: 0 / 1.114 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005278/0.9194, allocations: 134.7 kB / 1.114 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.9196, allocations: 0.6905 MB / 1.115 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.927e-05/0.9197, allocations: 8 kB / 1.115 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.9198, allocations: 11.44 kB / 1.115 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/0.9198, allocations: 0 / 1.115 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01308/0.9329, allocations: 1.394 MB / 1.116 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.9331, allocations: 163.5 kB / 1.116 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.477/2.41, allocations: 0 / 1.116 GB, free: 2.832 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)