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.503/1.503, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001177/0.001177, allocations: 179.7 kB / 326.5 MB, free: 2.242 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.95/1.95, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.001168/0.001168, allocations: 93.61 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000543/0.0005433, allocations: 9.406 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2249, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001647/0.2266, allocations: 1.164 MB / 0.9013 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.2277, allocations: 0.778 MB / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.2277, allocations: 0 / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.382e-05/0.2278, allocations: 0 / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.778e-05/0.2278, allocations: 15.92 kB / 0.9021 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.2282, allocations: 95.69 kB / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.52e-05/0.2283, allocations: 23.97 kB / 0.9022 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.201e-05/0.2284, allocations: 3.984 kB / 0.9022 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.36e-05/0.2284, allocations: 11.98 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.631e-05/0.2285, allocations: 19.92 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.2285, allocations: 0 / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003393/0.2288, allocations: 311.5 kB / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.2289, allocations: 11.91 kB / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.2289, allocations: 29.7 kB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.2291, allocations: 139.9 kB / 0.9027 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2291, allocations: 0 / 0.9027 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2291, allocations: 0 / 0.9027 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.2291, allocations: 0 / 0.9027 GB, free: 61.24 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.0005734/0.2297, allocations: 375.6 kB / 0.903 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.2298, allocations: 8.031 kB / 0.903 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.541e-05/0.2298, allocations: 34.56 kB / 0.9031 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005136/0.2303, allocations: 83.78 kB / 0.9032 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.2305, allocations: 171.1 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.2305, allocations: 0 / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.2306, allocations: 0 / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.2309, allocations: 97.56 kB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2309, allocations: 0 / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.2309, allocations: 4 kB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2309, allocations: 0 / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004209/0.2314, allocations: 111.9 kB / 0.9035 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005439/0.2319, allocations: 304.9 kB / 0.9038 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.2323, allocations: 126.4 kB / 0.9039 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.2323, allocations: 0 / 0.9039 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.2324, allocations: 30.56 kB / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2324, allocations: 0 / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0007394/0.2331, allocations: 205.6 kB / 0.9042 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.2332, allocations: 55.53 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.827e-05/0.2332, allocations: 105.8 kB / 0.9043 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.2333, allocations: 29.7 kB / 0.9043 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/0.2333, allocations: 84.08 kB / 0.9044 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.2333, allocations: 11.83 kB / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.2334, allocations: 4 kB / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.2334, allocations: 314.8 kB / 0.9047 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.2336, allocations: 63.88 kB / 0.9048 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.2338, allocations: 55.95 kB / 0.9049 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.234, allocations: 56.02 kB / 0.9049 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.234, allocations: 0 / 0.9049 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004246/0.2345, allocations: 149.5 kB / 0.905 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2345, allocations: 7.984 kB / 0.9051 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2345, allocations: 0 / 0.9051 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2345, allocations: 4 kB / 0.9051 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.2347, allocations: 24.02 kB / 0.9051 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2347, allocations: 7.938 kB / 0.9051 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.2348, allocations: 19.98 kB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.2348, allocations: 4 kB / 0.9051 GB, free: 58.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.175e-05/0.2349, allocations: 109.8 kB / 0.9052 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.2349, allocations: 0 / 0.9052 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.2349, allocations: 19.05 kB / 0.9052 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2349, allocations: 0 / 0.9052 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.235, allocations: 0 / 0.9052 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.235, allocations: 3.953 kB / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.2351, allocations: 169.6 kB / 0.9054 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2351, allocations: 0 / 0.9054 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.2352, allocations: 27.98 kB / 0.9054 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2353, allocations: 0 / 0.9054 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.2353, allocations: 7.922 kB / 0.9054 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2353, allocations: 0 / 0.9054 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2353, allocations: 0 / 0.9054 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.2358, allocations: 251.4 kB / 0.9057 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.2358, allocations: 81.02 kB / 0.9058 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.2358, allocations: 0 / 0.9058 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.236, allocations: 24.02 kB / 0.9058 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.236, allocations: 7.984 kB / 0.9058 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.236, allocations: 0 / 0.9058 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.233e-05/0.2361, allocations: 87.22 kB / 0.9059 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2361, allocations: 0 / 0.9059 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000252/0.2363, allocations: 23.94 kB / 0.9059 GB, free: 57.63 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 (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.0006721/0.237, allocations: 0.775 MB / 0.9066 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000425/0.2374, allocations: 115.9 kB / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2375, allocations: 3.938 kB / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.2377, allocations: 63.94 kB / 0.9068 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.2379, allocations: 9.094 kB / 0.9068 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006616/0.2385, allocations: 210.3 kB / 0.907 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.2386, allocations: 0.6809 MB / 0.9077 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.519e-05/0.2387, allocations: 8 kB / 0.9077 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.2388, allocations: 19.42 kB / 0.9077 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2388, allocations: 0 / 0.9077 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.2507, allocations: 1.385 MB / 0.9091 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.2509, allocations: 201.4 kB / 0.9093 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.42/1.671, allocations: 2.25 kB / 0.9093 GB, free: 54.18 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)