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.788/1.788, allocations: 289.9 MB / 297.4 MB, free: 6.336 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.001555/0.001555, allocations: 173 kB / 366.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0008879/0.0008878, allocations: 102.8 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.35e-05/2.363e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7003/0.7004, allocations: 116.3 MB / 0.9733 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2215/0.9219, allocations: 139.4 MB / 1.11 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.9222, allocations: 71.97 kB / 1.11 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01207/0.9343, allocations: 3.765 MB / 1.113 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9344, allocations: 0 / 1.113 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.9344, allocations: 0 / 1.113 GB, free: 6.973 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.0004683/0.9348, allocations: 386.3 kB / 1.114 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.9349, allocations: 12.03 kB / 1.114 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003748/0.9353, allocations: 67.83 kB / 1.114 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.9355, allocations: 167 kB / 1.114 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.9355, allocations: 3.562 kB / 1.114 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.9355, allocations: 4 kB / 1.114 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.488e-05/0.9356, allocations: 23.94 kB / 1.114 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.9357, allocations: 53.67 kB / 1.114 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.9357, allocations: 0 / 1.114 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.9358, allocations: 0 / 1.114 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.9358, allocations: 0 / 1.114 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.9362, allocations: 269.4 kB / 1.114 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.249e-05/0.9363, allocations: 42.52 kB / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.942e-05/0.9364, allocations: 16.92 kB / 1.114 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.9364, allocations: 0 / 1.114 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.9364, allocations: 30.56 kB / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.9364, allocations: 0 / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002899/0.9367, allocations: 73.66 kB / 1.114 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.9368, allocations: 55.44 kB / 1.114 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.696e-05/0.9369, allocations: 95.25 kB / 1.114 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.9369, allocations: 25.7 kB / 1.115 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.937, allocations: 84.14 kB / 1.115 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.937, allocations: 11.83 kB / 1.115 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.937, allocations: 0 / 1.115 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.9371, allocations: 318.8 kB / 1.115 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.046e-05/0.9372, allocations: 12 kB / 1.115 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.701e-05/0.9372, allocations: 19.94 kB / 1.115 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.9373, allocations: 23.97 kB / 1.115 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.9373, allocations: 0 / 1.115 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001818/0.9375, allocations: 73.58 kB / 1.115 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.9376, allocations: 4 kB / 1.115 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.9376, allocations: 96 / 1.115 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.9376, allocations: 4 kB / 1.115 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.9378, allocations: 27.97 kB / 1.115 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.9378, allocations: 0 / 1.115 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.9379, allocations: 27.97 kB / 1.115 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.9379, allocations: 0 / 1.115 GB, free: 4.887 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 7.594e-05/0.938, allocations: 108.9 kB / 1.115 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001923/0.9382, allocations: 73.59 kB / 1.115 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.9382, allocations: 7.938 kB / 1.115 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.286e-05/0.9383, allocations: 7.75 kB / 1.115 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.9383, allocations: 4.031 kB / 1.115 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.9383, allocations: 1.781 kB / 1.115 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.9383, allocations: 0 / 1.115 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.9384, allocations: 154.2 kB / 1.115 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.9385, allocations: 2.688 kB / 1.115 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.9386, allocations: 27.97 kB / 1.115 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.9386, allocations: 4 kB / 1.115 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.9386, allocations: 0 / 1.115 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.9386, allocations: 0 / 1.115 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.9386, allocations: 0 / 1.115 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.9389, allocations: 167.4 kB / 1.116 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.9389, allocations: 81.09 kB / 1.116 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.9389, allocations: 4.031 kB / 1.116 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.9391, allocations: 19.98 kB / 1.116 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.9392, allocations: 15.92 kB / 1.116 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.9392, allocations: 0 / 1.116 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.575e-05/0.9392, allocations: 79.28 kB / 1.116 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9392, allocations: 0 / 1.116 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002415/0.9395, allocations: 20 kB / 1.116 GB, free: 4.039 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.0005714/0.94, allocations: 0.7163 MB / 1.117 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001226/0.9402, allocations: 33.42 kB / 1.117 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9402, allocations: 4.062 kB / 1.117 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.674e-05/0.9402, allocations: 15.94 kB / 1.117 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.9404, allocations: 0 / 1.117 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005248/0.9409, allocations: 130.5 kB / 1.117 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.9412, allocations: 0.6845 MB / 1.117 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.013e-05/0.9413, allocations: 9.969 kB / 1.117 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.9413, allocations: 9.625 kB / 1.117 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.9414, allocations: 0 / 1.117 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.9618, allocations: 1.069 MB / 1.118 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/0.9621, allocations: 140.4 kB / 1.119 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.467/2.429, allocations: 0 / 1.119 GB, free: 1.137 MB / 0.7136 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)