Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.677/1.677, allocations: 288.4 MB / 303.3 MB, free: 8.121 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.00108/0.00108, allocations: 190.8 kB / 372 MB, free: 10.25 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.695/1.695, allocations: 205.4 MB / 0.6307 GB, free: 9.891 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008444/0.0008444, allocations: 97.25 kB / 0.744 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004025, allocations: 13.28 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.226, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001692/0.2277, allocations: 1.145 MB / 0.9808 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.2289, allocations: 0.7821 MB / 0.9815 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.2289, allocations: 0 / 0.9815 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.2289, allocations: 3.938 kB / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.783e-05/0.229, allocations: 0 / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.2293, allocations: 103.7 kB / 0.9816 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.942e-05/0.2294, allocations: 23.92 kB / 0.9816 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.172e-05/0.2295, allocations: 11.97 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.777e-05/0.2295, allocations: 8 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.497e-05/0.2296, allocations: 19.91 kB / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.2296, allocations: 4 kB / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.23, allocations: 307.3 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.128e-06/0.23, allocations: 12 kB / 0.982 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.896e-05/0.23, allocations: 29.64 kB / 0.982 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.2302, allocations: 136.1 kB / 0.9821 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.2302, allocations: 8 kB / 0.9822 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.013e-06/0.2302, allocations: 0 / 0.9822 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.2302, allocations: 0 / 0.9822 GB, free: 24.94 MB / 0.6198 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.0004734/0.2307, allocations: 367.2 kB / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2307, allocations: 20.02 kB / 0.9825 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.708e-05/0.2308, allocations: 30.56 kB / 0.9826 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004317/0.2312, allocations: 87.91 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.871e-05/0.2313, allocations: 167 kB / 0.9828 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.2313, allocations: 0 / 0.9828 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.2314, allocations: 4 kB / 0.9828 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.2317, allocations: 93.62 kB / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2317, allocations: 0 / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.2317, allocations: 0 / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.2317, allocations: 8 kB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/0.2321, allocations: 115.8 kB / 0.983 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.2325, allocations: 308.8 kB / 0.9833 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003546/0.2329, allocations: 118.5 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.2331, allocations: 60.88 kB / 0.9835 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.2332, allocations: 7.984 kB / 0.9835 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.2332, allocations: 30.56 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.2332, allocations: 0 / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0006967/0.2339, allocations: 209.6 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.2339, allocations: 55.36 kB / 0.9838 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.934e-05/0.234, allocations: 97.86 kB / 0.9839 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.234, allocations: 33.69 kB / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.48e-05/0.234, allocations: 84.14 kB / 0.984 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.234, allocations: 3.906 kB / 0.984 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.2341, allocations: 0 / 0.984 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.338e-05/0.2341, allocations: 314.8 kB / 0.9843 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.2343, allocations: 59.98 kB / 0.9843 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.2345, allocations: 59.94 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.2347, allocations: 56.02 kB / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2347, allocations: 3.938 kB / 0.9844 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004087/0.2351, allocations: 145.5 kB / 0.9846 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2351, allocations: 4 kB / 0.9846 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2351, allocations: 0 / 0.9846 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2352, allocations: 0 / 0.9846 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.2353, allocations: 32 kB / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2353, allocations: 7.891 kB / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.2355, allocations: 23.97 kB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.2355, allocations: 4 kB / 0.9846 GB, free: 22.15 MB / 0.6198 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.321e-05/0.2355, allocations: 115.6 kB / 0.9848 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.2356, allocations: 3.906 kB / 0.9848 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.2356, allocations: 3.125 kB / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.2356, allocations: 7.984 kB / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2356, allocations: 0 / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2356, allocations: 3.953 kB / 0.9848 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.2357, allocations: 165.7 kB / 0.9849 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2357, allocations: 0 / 0.9849 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.2359, allocations: 31.97 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2359, allocations: 0 / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.2359, allocations: 0 / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2359, allocations: 4.188 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2359, allocations: 7.984 kB / 0.985 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004246/0.2363, allocations: 243.4 kB / 0.9852 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.635e-05/0.2364, allocations: 81.09 kB / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.2364, allocations: 0 / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.2365, allocations: 28.02 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.2366, allocations: 3.984 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.2366, allocations: 4 kB / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.89e-05/0.2366, allocations: 79.28 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2366, allocations: 0 / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002063/0.2368, allocations: 12 kB / 0.9854 GB, free: 21.28 MB / 0.6198 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.0006466/0.2375, allocations: 0.7943 MB / 0.9862 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004104/0.2379, allocations: 111.9 kB / 0.9863 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2379, allocations: 4.062 kB / 0.9863 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.2381, allocations: 67.88 kB / 0.9864 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.2384, allocations: 13.03 kB / 0.9864 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/0.239, allocations: 210.2 kB / 0.9866 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.2391, allocations: 0.677 MB / 0.9872 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.873e-05/0.2392, allocations: 15.98 kB / 0.9872 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.2393, allocations: 7.438 kB / 0.9873 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2393, allocations: 0 / 0.9873 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.2558, allocations: 1.408 MB / 0.9886 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/0.2561, allocations: 197.5 kB / 0.9888 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/1.79, allocations: 0 / 0.9888 GB, free: 17.81 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)