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.47/1.47, allocations: 249.5 MB / 257 MB, free: 6.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 180.8 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0008807/0.0008807, allocations: 91.38 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.622e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2519, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8863/1.138, allocations: 133.1 MB / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/1.139, allocations: 74.14 kB / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01222/1.151, allocations: 3.765 MB / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.104e-06/1.151, allocations: 4 kB / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.664e-06/1.151, allocations: 0 / 1.019 GB, free: 1.43 MB / 0.6355 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.0005387/1.151, allocations: 381.8 kB / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/1.152, allocations: 15.97 kB / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004113/1.152, allocations: 67.42 kB / 1.019 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/1.152, allocations: 167 kB / 1.02 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/1.152, allocations: 0 / 1.02 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/1.152, allocations: 0 / 1.02 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001053/1.152, allocations: 25.88 kB / 1.02 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/1.152, allocations: 48.92 kB / 1.02 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/1.153, allocations: 0 / 1.02 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/1.153, allocations: 0 / 1.02 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/1.153, allocations: 0 / 1.02 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/1.153, allocations: 275.3 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.592e-05/1.153, allocations: 39.64 kB / 1.02 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.848e-05/1.153, allocations: 15.86 kB / 1.02 GB, free: 336 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/1.153, allocations: 7.938 kB / 1.02 GB, free: 328 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/1.153, allocations: 34.56 kB / 1.02 GB, free: 284 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.153, allocations: 0 / 1.02 GB, free: 284 kB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0003296/1.154, allocations: 68.41 kB / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/1.154, allocations: 54.47 kB / 1.02 GB, free: 152 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.784e-05/1.154, allocations: 89 kB / 1.02 GB, free: 56 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/1.154, allocations: 25.7 kB / 1.02 GB, free: 24 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/1.154, allocations: 91.98 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/1.154, allocations: 11.78 kB / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-06/1.154, allocations: 0 / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.154, allocations: 322.3 kB / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.934e-05/1.154, allocations: 15.56 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.432e-05/1.154, allocations: 7.312 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/1.154, allocations: 30.22 kB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.154, allocations: 4.062 kB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001966/1.155, allocations: 63.92 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.155, allocations: 8 kB / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/1.155, allocations: 0 / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/1.155, allocations: 0 / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/1.155, allocations: 32 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/1.155, allocations: 0 / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/1.155, allocations: 27.03 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/1.155, allocations: 0 / 1.021 GB, free: 15.43 MB / 0.6511 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 0.0001295/1.155, allocations: 108.9 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002274/1.155, allocations: 79.02 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/1.155, allocations: 3.984 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/1.155, allocations: 7.703 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/1.155, allocations: 0 / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/1.155, allocations: 4.234 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/1.155, allocations: 4 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/1.156, allocations: 148.7 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/1.156, allocations: 8.031 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/1.156, allocations: 23.97 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/1.156, allocations: 0 / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/1.156, allocations: 11.92 kB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.156, allocations: 0 / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.156, allocations: 0 / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/1.156, allocations: 172.5 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/1.156, allocations: 85.02 kB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/1.156, allocations: 0 / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/1.156, allocations: 28 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/1.157, allocations: 3.984 kB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/1.157, allocations: 0 / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.782e-05/1.157, allocations: 79.28 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.157, allocations: 0 / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002598/1.157, allocations: 16 kB / 1.022 GB, free: 14.61 MB / 0.6511 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.0007056/1.158, allocations: 0.7132 MB / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001258/1.158, allocations: 32.86 kB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.158, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.776e-05/1.158, allocations: 14.44 kB / 1.022 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/1.158, allocations: 7.938 kB / 1.022 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005616/1.159, allocations: 128.2 kB / 1.023 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/1.159, allocations: 0.6806 MB / 1.023 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.871e-05/1.159, allocations: 12 kB / 1.023 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.233e-05/1.159, allocations: 14 kB / 1.023 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of SimCode: time 5.61e-07/1.159, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/1.18, allocations: 1.07 MB / 1.024 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/1.18, allocations: 165.8 kB / 1.024 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.812, allocations: 0 / 1.024 GB, free: 11.7 MB / 0.6511 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)