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.564/1.564, allocations: 289.7 MB / 302.2 MB, free: 2.137 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.001428/0.001428, allocations: 180.4 kB / 371.6 MB, free: 3.41 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.529/1.529, allocations: 205.1 MB / 0.6309 GB, free: 11.8 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.0008937/0.0008936, allocations: 93.33 kB / 0.745 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.213e-05/4.214e-05, allocations: 4 kB / 0.8663 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.299, allocations: 116.3 MB / 0.9799 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.1/1.399, allocations: 140.1 MB / 1.117 GB, free: 43.86 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/1.399, allocations: 76.91 kB / 1.117 GB, free: 43.83 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01127/1.41, allocations: 3.768 MB / 1.12 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.633e-06/1.41, allocations: 0 / 1.12 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.725e-06/1.41, allocations: 0 / 1.12 GB, free: 41.58 MB / 0.7448 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.000521/1.411, allocations: 383.7 kB / 1.121 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/1.411, allocations: 8.031 kB / 1.121 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.382e-05/1.411, allocations: 38.56 kB / 1.121 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003839/1.412, allocations: 69.5 kB / 1.121 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/1.412, allocations: 166.2 kB / 1.121 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/1.412, allocations: 3.266 kB / 1.121 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/1.412, allocations: 7.938 kB / 1.121 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/1.412, allocations: 47.22 kB / 1.121 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/1.412, allocations: 0 / 1.121 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/1.412, allocations: 1.125 kB / 1.121 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/1.412, allocations: 0 / 1.121 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.469e-05/1.412, allocations: 28.27 kB / 1.121 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/1.413, allocations: 298.8 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.175e-05/1.413, allocations: 40.02 kB / 1.121 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.187e-05/1.413, allocations: 22.23 kB / 1.122 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/1.413, allocations: 0 / 1.122 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/1.413, allocations: 34.56 kB / 1.122 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.413, allocations: 0 / 1.122 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001914/1.413, allocations: 57.09 kB / 1.122 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/1.413, allocations: 54.53 kB / 1.122 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.381e-05/1.413, allocations: 89.94 kB / 1.122 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/1.413, allocations: 33.39 kB / 1.122 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/1.413, allocations: 80.92 kB / 1.122 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/1.413, allocations: 11.88 kB / 1.122 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/1.413, allocations: 3.062 kB / 1.122 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.005e-05/1.413, allocations: 318 kB / 1.122 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.438e-05/1.413, allocations: 14.31 kB / 1.122 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.115e-05/1.413, allocations: 11.88 kB / 1.122 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.886e-05/1.413, allocations: 6.75 kB / 1.122 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.413, allocations: 0 / 1.122 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001171/1.413, allocations: 54.31 kB / 1.122 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/1.413, allocations: 8.094 kB / 1.122 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.414, allocations: 4 kB / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/1.414, allocations: 1.375 kB / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/1.414, allocations: 30.02 kB / 1.122 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/1.414, allocations: 4 kB / 1.122 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/1.414, allocations: 30.38 kB / 1.122 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/1.414, allocations: 0 / 1.122 GB, free: 39.64 MB / 0.7448 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.659e-05/1.414, allocations: 104.9 kB / 1.122 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/1.414, allocations: 4.688 kB / 1.122 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.432e-05/1.414, allocations: 10.31 kB / 1.122 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.414, allocations: 0 / 1.122 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.414, allocations: 5.062 kB / 1.122 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.414, allocations: 3.188 kB / 1.122 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/1.414, allocations: 170.9 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.414, allocations: 0 / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/1.414, allocations: 26.56 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/1.414, allocations: 0.6562 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/1.414, allocations: 0 / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/1.414, allocations: 4.5 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.414, allocations: 0 / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/1.415, allocations: 160.8 kB / 1.123 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/1.415, allocations: 84.48 kB / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/1.415, allocations: 0.8125 kB / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/1.415, allocations: 27.72 kB / 1.123 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/1.415, allocations: 4 kB / 1.123 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/1.415, allocations: 0 / 1.123 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.413e-05/1.415, allocations: 83.16 kB / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.415, allocations: 0 / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002532/1.415, allocations: 19.38 kB / 1.123 GB, free: 38.93 MB / 0.7448 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.0004322/1.416, allocations: 0.6966 MB / 1.124 GB, free: 38.22 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001221/1.416, allocations: 34.06 kB / 1.124 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.416, allocations: 0 / 1.124 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.119e-05/1.416, allocations: 14.12 kB / 1.124 GB, free: 38.19 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/1.416, allocations: 7.969 kB / 1.124 GB, free: 38.19 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005453/1.417, allocations: 140.4 kB / 1.124 GB, free: 38.04 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/1.417, allocations: 0.6846 MB / 1.125 GB, free: 37.34 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.132e-05/1.417, allocations: 12.66 kB / 1.125 GB, free: 37.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.06e-05/1.417, allocations: 12.75 kB / 1.125 GB, free: 37.32 MB / 0.7448 GB Notification: Performance of SimCode: time 8.41e-07/1.417, allocations: 0 / 1.125 GB, free: 37.32 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/1.432, allocations: 1.394 MB / 1.126 GB, free: 36.59 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/1.432, allocations: 148.8 kB / 1.126 GB, free: 36.37 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/3.075, allocations: 4 kB / 1.126 GB, free: 36.36 MB / 0.7448 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)