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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.765/1.765, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001202/0.001203, allocations: 183.5 kB / 377.1 MB, free: 1.543 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.925/1.925, allocations: 205.4 MB / 0.6366 GB, free: 8.562 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.0008598/0.0008598, allocations: 92.09 kB / 0.7509 GB, free: 63.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003469, allocations: 16 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.254, allocations: 116.3 MB / 0.9884 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7516/1.006, allocations: 140.2 MB / 1.125 GB, free: 34.73 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/1.006, allocations: 80.12 kB / 1.125 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01588/1.022, allocations: 3.8 MB / 1.129 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.934e-06/1.022, allocations: 0 / 1.129 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.725e-06/1.022, allocations: 0 / 1.129 GB, free: 31.86 MB / 0.7292 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.0005251/1.023, allocations: 395.3 kB / 1.129 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/1.023, allocations: 16.02 kB / 1.129 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/1.023, allocations: 31.06 kB / 1.13 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000535/1.023, allocations: 65.23 kB / 1.13 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/1.023, allocations: 171.1 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/1.023, allocations: 8 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/1.023, allocations: 3.438 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/1.024, allocations: 91.8 kB / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.024, allocations: 0 / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/1.024, allocations: 0 / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/1.024, allocations: 4 kB / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006198/1.024, allocations: 116.3 kB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005432/1.025, allocations: 300.5 kB / 1.13 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005292/1.026, allocations: 115 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/1.026, allocations: 4.062 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/1.026, allocations: 34.56 kB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/1.026, allocations: 0 / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.001036/1.027, allocations: 207 kB / 1.131 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/1.027, allocations: 56.12 kB / 1.131 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.235e-05/1.027, allocations: 93.5 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/1.027, allocations: 25.7 kB / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/1.027, allocations: 91.61 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/1.027, allocations: 3.906 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/1.027, allocations: 0 / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.615e-05/1.027, allocations: 318.8 kB / 1.131 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/1.027, allocations: 58.53 kB / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/1.028, allocations: 58.45 kB / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/1.028, allocations: 53.98 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.028, allocations: 0 / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006288/1.029, allocations: 149.5 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.029, allocations: 4 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/1.029, allocations: 0 / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/1.029, allocations: 0 / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/1.029, allocations: 35.33 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.046e-06/1.029, allocations: 0.5625 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/1.029, allocations: 26.84 kB / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/1.029, allocations: 0 / 1.132 GB, free: 29.41 MB / 0.7292 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 7.164e-05/1.029, allocations: 117.7 kB / 1.132 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/1.029, allocations: 4 kB / 1.132 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/1.029, allocations: 10.59 kB / 1.132 GB, free: 29.28 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/1.029, allocations: 0.75 kB / 1.132 GB, free: 29.28 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.029, allocations: 4.625 kB / 1.132 GB, free: 29.28 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.029, allocations: 0 / 1.132 GB, free: 29.28 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/1.03, allocations: 168.1 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/1.03, allocations: 0 / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/1.03, allocations: 31.41 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/1.03, allocations: 4 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/1.03, allocations: 0 / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/1.03, allocations: 0.8438 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.03, allocations: 0 / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006781/1.031, allocations: 247.5 kB / 1.132 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/1.031, allocations: 88.39 kB / 1.132 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/1.031, allocations: 0 / 1.132 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/1.031, allocations: 26.92 kB / 1.132 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/1.031, allocations: 0.8438 kB / 1.132 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/1.031, allocations: 4.75 kB / 1.132 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.039e-05/1.031, allocations: 82.84 kB / 1.132 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/1.031, allocations: 0.5625 kB / 1.132 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004256/1.032, allocations: 19.94 kB / 1.132 GB, free: 28.59 MB / 0.7292 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.000945/1.033, allocations: 0.7788 MB / 1.133 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006486/1.033, allocations: 124.5 kB / 1.133 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.033, allocations: 0.6562 kB / 1.133 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002956/1.033, allocations: 62.42 kB / 1.133 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/1.034, allocations: 8.062 kB / 1.133 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009245/1.035, allocations: 214.8 kB / 1.133 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/1.035, allocations: 0.6775 MB / 1.134 GB, free: 26.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001359/1.035, allocations: 8.75 kB / 1.134 GB, free: 26.74 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.945e-05/1.035, allocations: 15.89 kB / 1.134 GB, free: 26.73 MB / 0.7292 GB Notification: Performance of SimCode: time 4.749e-06/1.035, allocations: 4 kB / 1.134 GB, free: 26.73 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/1.051, allocations: 1.385 MB / 1.135 GB, free: 26 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/1.051, allocations: 179.2 kB / 1.136 GB, free: 25.76 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.707, allocations: 0 / 1.136 GB, free: 25.76 MB / 0.7292 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)