Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.628/1.628, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001389/0.001389, allocations: 175.4 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.4 MB / 0.5775 GB, free: 20.32 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 94.38 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003398, allocations: 10.38 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2476, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1858/0.4334, allocations: 132.9 MB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.4337, allocations: 75.95 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01187/0.4456, allocations: 3.8 MB / 1.034 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4457, allocations: 0 / 1.034 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.4457, allocations: 4 kB / 1.034 GB, free: 6.91 MB / 0.6823 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.0004852/0.4462, allocations: 392.6 kB / 1.034 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.4462, allocations: 15.97 kB / 1.034 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.4463, allocations: 34.56 kB / 1.034 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003709/0.4466, allocations: 59.94 kB / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.4468, allocations: 174.9 kB / 1.034 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.4468, allocations: 8 kB / 1.034 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.4469, allocations: 0 / 1.034 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.4472, allocations: 97.62 kB / 1.034 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.4472, allocations: 0 / 1.034 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.4472, allocations: 3.984 kB / 1.034 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.4472, allocations: 3.938 kB / 1.034 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004116/0.4476, allocations: 107.9 kB / 1.035 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/0.4481, allocations: 302.7 kB / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.4485, allocations: 110.5 kB / 1.035 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.4486, allocations: 4.062 kB / 1.035 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.4486, allocations: 30.56 kB / 1.035 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.4486, allocations: 0 / 1.035 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0007425/0.4493, allocations: 209.6 kB / 1.035 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.4494, allocations: 51.41 kB / 1.035 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.878e-05/0.4495, allocations: 100.9 kB / 1.035 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.4495, allocations: 25.7 kB / 1.035 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.4495, allocations: 84.14 kB / 1.035 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.4496, allocations: 7.891 kB / 1.035 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.4496, allocations: 0 / 1.035 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.4497, allocations: 314.8 kB / 1.036 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.4499, allocations: 59.97 kB / 1.036 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.4501, allocations: 59.95 kB / 1.036 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.4503, allocations: 52.02 kB / 1.036 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4503, allocations: 0 / 1.036 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004229/0.4508, allocations: 157.5 kB / 1.036 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.4508, allocations: 10.64 kB / 1.036 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4508, allocations: 0 / 1.036 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.4508, allocations: 0 / 1.036 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.451, allocations: 32 kB / 1.036 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.451, allocations: 0 / 1.036 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.4512, allocations: 19.98 kB / 1.036 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.4512, allocations: 7.953 kB / 1.036 GB, free: 4.211 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.037e-05/0.4513, allocations: 109.8 kB / 1.036 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.4513, allocations: 3.984 kB / 1.036 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/0.4513, allocations: 7.125 kB / 1.036 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.4513, allocations: 0 / 1.036 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4514, allocations: 4 kB / 1.036 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4514, allocations: 3.938 kB / 1.036 GB, free: 4.074 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.4515, allocations: 177.5 kB / 1.036 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4516, allocations: 0 / 1.036 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.4517, allocations: 32.22 kB / 1.036 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4517, allocations: 0 / 1.036 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.4517, allocations: 4 kB / 1.036 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4517, allocations: 0 / 1.036 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.4517, allocations: 0 / 1.036 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004857/0.4522, allocations: 251.3 kB / 1.037 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.4523, allocations: 81.02 kB / 1.037 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.4523, allocations: 0 / 1.037 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.4525, allocations: 28 kB / 1.037 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.4525, allocations: 0 / 1.037 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.4525, allocations: 4 kB / 1.037 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.478e-05/0.4526, allocations: 87.27 kB / 1.037 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4526, allocations: 0 / 1.037 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002555/0.4528, allocations: 19.94 kB / 1.037 GB, free: 3.32 MB / 0.6823 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 (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.0009281/0.4538, allocations: 0.7826 MB / 1.038 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004602/0.4543, allocations: 119.9 kB / 1.038 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4543, allocations: 8.062 kB / 1.038 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.4545, allocations: 51.95 kB / 1.038 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.4547, allocations: 8.062 kB / 1.038 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007454/0.4555, allocations: 206.5 kB / 1.038 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.4558, allocations: 0.677 MB / 1.039 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.781e-05/0.4559, allocations: 19.92 kB / 1.039 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.4559, allocations: 19.38 kB / 1.039 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of SimCode: time 2.455e-06/0.4559, allocations: 0 / 1.039 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01233/0.4683, allocations: 1.388 MB / 1.04 GB, free: 100 kB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.4685, allocations: 192 kB / 1.04 GB, free: 15.86 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/1.967, allocations: 0 / 1.04 GB, free: 15.86 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)