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.404/1.404, allocations: 288.4 MB / 303.6 MB, free: 8.156 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.0008607/0.0008607, allocations: 189.3 kB / 372.3 MB, free: 10.09 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.081/1.081, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.0006359/0.0006359, allocations: 86.3 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.0003078, allocations: 12.88 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1364, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.0009704/0.1374, allocations: 1.148 MB / 0.9813 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007825/0.1382, allocations: 0.7742 MB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.179e-05/0.1382, allocations: 4 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.538e-06/0.1382, allocations: 4 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.171e-05/0.1383, allocations: 3.938 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.1385, allocations: 95.73 kB / 0.9822 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.447e-05/0.1386, allocations: 27.92 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.408e-05/0.1387, allocations: 11.98 kB / 0.9822 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.156e-05/0.1387, allocations: 11.94 kB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.565e-05/0.1388, allocations: 23.91 kB / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.1388, allocations: 0 / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003061/0.1391, allocations: 307.4 kB / 0.9825 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.1391, allocations: 0 / 0.9825 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.1391, allocations: 41.62 kB / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.1393, allocations: 140 kB / 0.9827 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1393, allocations: 4 kB / 0.9827 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 7.22e-07/0.1393, allocations: 3.938 kB / 0.9827 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.495e-06/0.1393, allocations: 4 kB / 0.9827 GB, free: 24.62 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.000339/0.1397, allocations: 367.5 kB / 0.9831 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.1397, allocations: 12.03 kB / 0.9831 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.46e-05/0.1397, allocations: 30.75 kB / 0.9831 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.1401, allocations: 84.84 kB / 0.9832 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.154e-05/0.1402, allocations: 172.2 kB / 0.9834 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1402, allocations: 384 / 0.9834 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.1402, allocations: 4.375 kB / 0.9834 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.1405, allocations: 97.75 kB / 0.9834 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.1405, allocations: 7.875 kB / 0.9835 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-06/0.1405, allocations: 0 / 0.9835 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.1405, allocations: 4 kB / 0.9835 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003598/0.1409, allocations: 115.9 kB / 0.9836 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.1412, allocations: 300.9 kB / 0.9839 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.1416, allocations: 114.5 kB / 0.984 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.1418, allocations: 64.86 kB / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.1418, allocations: 0 / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.648e-06/0.1418, allocations: 46.5 kB / 0.9841 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.1418, allocations: 0 / 0.9841 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0006219/0.1424, allocations: 197.7 kB / 0.9843 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.662e-05/0.1425, allocations: 55.39 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.162e-05/0.1425, allocations: 97.86 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.126e-06/0.1425, allocations: 33.73 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.022e-05/0.1425, allocations: 84.14 kB / 0.9845 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.1426, allocations: 7.891 kB / 0.9845 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.1426, allocations: 0 / 0.9845 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.195e-05/0.1426, allocations: 314.8 kB / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.1428, allocations: 63.89 kB / 0.9849 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.143, allocations: 63.89 kB / 0.9849 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.1433, allocations: 112.8 kB / 0.9851 GB, free: 22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1433, allocations: 0 / 0.9851 GB, free: 22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003795/0.1437, allocations: 145.6 kB / 0.9852 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.1437, allocations: 8.031 kB / 0.9852 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1438, allocations: 0 / 0.9852 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.1438, allocations: 0 / 0.9852 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.1439, allocations: 27.97 kB / 0.9852 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1439, allocations: 3.984 kB / 0.9852 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.871e-05/0.144, allocations: 27.97 kB / 0.9853 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.144, allocations: 0 / 0.9853 GB, free: 21.78 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 4.22e-05/0.1441, allocations: 125.7 kB / 0.9854 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.1441, allocations: 3.906 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.181e-05/0.1441, allocations: 3.125 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1441, allocations: 0 / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1442, allocations: 4 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.1442, allocations: 4 kB / 0.9854 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.1443, allocations: 173.6 kB / 0.9856 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.1443, allocations: 0 / 0.9856 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.1444, allocations: 23.97 kB / 0.9856 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1444, allocations: 4 kB / 0.9856 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.1444, allocations: 4 kB / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1444, allocations: 0 / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1444, allocations: 3.938 kB / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.1448, allocations: 243.4 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.362e-05/0.1449, allocations: 81.11 kB / 0.9859 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.1449, allocations: 0 / 0.9859 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.145, allocations: 23.97 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.145, allocations: 4 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.145, allocations: 11.95 kB / 0.9859 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.882e-05/0.1451, allocations: 83.53 kB / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1451, allocations: 0 / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001975/0.1453, allocations: 16 kB / 0.986 GB, free: 20.89 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.0005348/0.1458, allocations: 0.7886 MB / 0.9868 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000392/0.1462, allocations: 123.9 kB / 0.9869 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1462, allocations: 0 / 0.9869 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.1464, allocations: 67.95 kB / 0.987 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.1466, allocations: 9.016 kB / 0.987 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005374/0.1472, allocations: 210.4 kB / 0.9872 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.195e-05/0.1473, allocations: 0.6731 MB / 0.9879 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.674e-05/0.1473, allocations: 11.98 kB / 0.9879 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.1474, allocations: 7.438 kB / 0.9879 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.1474, allocations: 0 / 0.9879 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.07/3.218, allocations: 1.384 MB / 0.9892 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/3.218, allocations: 209.2 kB / 0.9894 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/5.072, allocations: 2.391 kB / 0.9894 GB, free: 17.44 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)