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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009418/0.0009417, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00097/0.00097, allocations: 190 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.288/1.288, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.581/1.581, allocations: 292.3 MB / 0.5486 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 70.77 kB / 0.6711 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2129, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002502/0.2154, allocations: 1.503 MB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.2166, allocations: 0.8362 MB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.2166, allocations: 0 / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.2166, allocations: 0 / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.561e-05/0.2167, allocations: 3.938 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.2171, allocations: 107.7 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.417e-05/0.2172, allocations: 27.98 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.026e-05/0.2172, allocations: 11.92 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.492e-05/0.2173, allocations: 11.94 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.26e-05/0.2173, allocations: 27.95 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.2173, allocations: 0 / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003922/0.2177, allocations: 319.3 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.2178, allocations: 4 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.2178, allocations: 19.91 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.2181, allocations: 195.9 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.2181, allocations: 0 / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2181, allocations: 0 / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.2181, allocations: 0 / 0.786 GB, free: 10.73 MB / 0.6075 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.0004307/0.2185, allocations: 371.5 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2186, allocations: 12.03 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.157e-05/0.2186, allocations: 38.73 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000419/0.219, allocations: 64.86 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.2191, allocations: 180.2 kB / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.2192, allocations: 4.375 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.2192, allocations: 4.375 kB / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.2194, allocations: 89.69 kB / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-06/0.2195, allocations: 0 / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.2195, allocations: 0 / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2195, allocations: 0 / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003605/0.2198, allocations: 91.84 kB / 0.7868 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.2203, allocations: 300.8 kB / 0.7871 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.2206, allocations: 90.5 kB / 0.7871 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.2208, allocations: 56.81 kB / 0.7872 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.2209, allocations: 0 / 0.7872 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.2209, allocations: 34.56 kB / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.2209, allocations: 0 / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0006405/0.2215, allocations: 165.6 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.2216, allocations: 51.41 kB / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.651e-05/0.2216, allocations: 105.8 kB / 0.7875 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.2217, allocations: 25.7 kB / 0.7876 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.2217, allocations: 84.14 kB / 0.7876 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.2217, allocations: 7.906 kB / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.2218, allocations: 17.64 kB / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.391e-05/0.2219, allocations: 326.8 kB / 0.788 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.2221, allocations: 43.89 kB / 0.788 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.2222, allocations: 43.95 kB / 0.7881 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.2226, allocations: 92.83 kB / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2226, allocations: 0 / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000403/0.223, allocations: 125.5 kB / 0.7883 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.223, allocations: 8 kB / 0.7883 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.223, allocations: 0 / 0.7883 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-06/0.2231, allocations: 0 / 0.7883 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.2232, allocations: 24 kB / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.2232, allocations: 0 / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.2233, allocations: 20.22 kB / 0.7883 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.2233, allocations: 3.938 kB / 0.7883 GB, free: 8.07 MB / 0.6075 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.58e-05/0.2234, allocations: 113.8 kB / 0.7884 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.2234, allocations: 4 kB / 0.7884 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.2235, allocations: 11.12 kB / 0.7884 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2235, allocations: 4 kB / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2235, allocations: 0 / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.2235, allocations: 0 / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.2237, allocations: 173.6 kB / 0.7886 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2237, allocations: 0 / 0.7886 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.2238, allocations: 19.97 kB / 0.7886 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2238, allocations: 0 / 0.7886 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.2238, allocations: 8 kB / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2238, allocations: 0 / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2238, allocations: 0 / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004386/0.2243, allocations: 219.4 kB / 0.7889 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.2243, allocations: 81.02 kB / 0.7889 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.2243, allocations: 3.938 kB / 0.7889 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.2245, allocations: 27.94 kB / 0.789 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.2245, allocations: 0 / 0.789 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.2245, allocations: 4 kB / 0.789 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.892e-05/0.2246, allocations: 87.27 kB / 0.789 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.653e-06/0.2246, allocations: 0 / 0.789 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002169/0.2248, allocations: 11.94 kB / 0.7891 GB, free: 7.223 MB / 0.6075 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.0006923/0.2255, allocations: 0.7593 MB / 0.7898 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004105/0.2259, allocations: 99.83 kB / 0.7899 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2259, allocations: 4 kB / 0.7899 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.2261, allocations: 43.95 kB / 0.7899 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.2264, allocations: 12.09 kB / 0.79 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006008/0.227, allocations: 207 kB / 0.7902 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.2272, allocations: 0.6768 MB / 0.7908 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.272e-05/0.2273, allocations: 8 kB / 0.7908 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.2273, allocations: 7.438 kB / 0.7908 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of SimCode: time 4.5e-07/0.2273, allocations: 0 / 0.7908 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.181/1.409, allocations: 1.523 MB / 0.7923 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/1.409, allocations: 203.4 kB / 0.7925 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/3.749, allocations: 0 / 0.7925 GB, free: 3.652 MB / 0.6075 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/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)