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.3/1.3, allocations: 252 MB / 267.3 MB, free: 10.85 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.001024/0.001024, allocations: 173.3 kB / 327 MB, free: 2.098 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.613/1.613, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.0007232/0.0007233, allocations: 96.86 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 15.38 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2062, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001574/0.2079, allocations: 1.164 MB / 0.902 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.209, allocations: 0.8389 MB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.258e-05/0.2091, allocations: 4 kB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.2091, allocations: 3.938 kB / 0.9029 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.707e-05/0.2092, allocations: 0 / 0.9029 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.2096, allocations: 103.7 kB / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.927e-05/0.2096, allocations: 35.86 kB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.374e-05/0.2097, allocations: 11.97 kB / 0.903 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.058e-05/0.2098, allocations: 7.938 kB / 0.903 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.2099, allocations: 19.97 kB / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.2099, allocations: 0 / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004092/0.2103, allocations: 319.3 kB / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.2103, allocations: 11.94 kB / 0.9034 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.2104, allocations: 33.69 kB / 0.9034 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.2106, allocations: 187.6 kB / 0.9036 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2107, allocations: 0 / 0.9036 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2107, allocations: 4 kB / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2107, allocations: 0 / 0.9036 GB, free: 60.62 MB / 0.6042 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.0004574/0.2111, allocations: 380.8 kB / 0.9039 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.2112, allocations: 16.03 kB / 0.904 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.2112, allocations: 30.75 kB / 0.904 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004775/0.2117, allocations: 80.77 kB / 0.9041 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.001e-05/0.2118, allocations: 172.3 kB / 0.9042 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.2118, allocations: 384 / 0.9042 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.2119, allocations: 384 / 0.9042 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.2122, allocations: 101.8 kB / 0.9043 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.2122, allocations: 0 / 0.9043 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.2122, allocations: 0 / 0.9043 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2122, allocations: 8 kB / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004571/0.2127, allocations: 107.9 kB / 0.9044 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/0.2132, allocations: 304.8 kB / 0.9047 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.2136, allocations: 118.5 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.2139, allocations: 60.88 kB / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.2139, allocations: 0 / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.2139, allocations: 34.56 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.2139, allocations: 0 / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0007974/0.2147, allocations: 213.5 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.2148, allocations: 51.41 kB / 0.9052 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.98e-05/0.2148, allocations: 105.8 kB / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.2149, allocations: 25.7 kB / 0.9053 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.2149, allocations: 84.14 kB / 0.9054 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.2149, allocations: 7.844 kB / 0.9054 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-06/0.2149, allocations: 0 / 0.9054 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.935e-05/0.215, allocations: 322.8 kB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.2152, allocations: 55.98 kB / 0.9058 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.2155, allocations: 59.95 kB / 0.9058 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/0.2159, allocations: 112.8 kB / 0.9059 GB, free: 58 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2159, allocations: 4 kB / 0.9059 GB, free: 58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000488/0.2164, allocations: 153.7 kB / 0.9061 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2164, allocations: 4 kB / 0.9061 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.2164, allocations: 7.922 kB / 0.9061 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2164, allocations: 0 / 0.9061 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.2166, allocations: 36 kB / 0.9061 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2167, allocations: 0 / 0.9061 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.2168, allocations: 19.98 kB / 0.9061 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.2168, allocations: 0 / 0.9061 GB, free: 57.78 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.216e-05/0.2169, allocations: 125.8 kB / 0.9063 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.2169, allocations: 0 / 0.9063 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.2169, allocations: 3.125 kB / 0.9063 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.217, allocations: 4 kB / 0.9063 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.217, allocations: 0 / 0.9063 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.217, allocations: 0 / 0.9063 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.2171, allocations: 177.6 kB / 0.9064 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2171, allocations: 0 / 0.9064 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.2173, allocations: 31.97 kB / 0.9065 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2173, allocations: 0 / 0.9065 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.2173, allocations: 0 / 0.9065 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2173, allocations: 0 / 0.9065 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2173, allocations: 0 / 0.9065 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005331/0.2179, allocations: 255.2 kB / 0.9067 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.2179, allocations: 77.11 kB / 0.9068 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.2179, allocations: 0 / 0.9068 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.2181, allocations: 28 kB / 0.9068 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.2181, allocations: 4 kB / 0.9068 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.2182, allocations: 4 kB / 0.9068 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.253e-05/0.2182, allocations: 83.27 kB / 0.9069 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2182, allocations: 0 / 0.9069 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002112/0.2184, allocations: 12 kB / 0.9069 GB, free: 56.9 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006318/0.219, allocations: 0.7866 MB / 0.9077 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004049/0.2195, allocations: 115.9 kB / 0.9078 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2195, allocations: 0 / 0.9078 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.2197, allocations: 64.02 kB / 0.9078 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.22, allocations: 4 kB / 0.9078 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005923/0.2206, allocations: 218.2 kB / 0.9081 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.766e-05/0.2207, allocations: 0.677 MB / 0.9087 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.453e-05/0.2207, allocations: 11.94 kB / 0.9087 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/0.2208, allocations: 23.36 kB / 0.9088 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2208, allocations: 0 / 0.9088 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01098/0.2318, allocations: 1.417 MB / 0.9101 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/0.232, allocations: 211.1 kB / 0.9103 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/1.782, allocations: 4 kB / 0.9103 GB, free: 53.39 MB / 0.6042 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)