Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_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.001203/0.001208, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 197.8 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002084, allocations: 286.8 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9346/0.9346, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 95.23 kB / 0.5953 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1207, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002316/0.1231, allocations: 1.433 MB / 0.6817 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1241, allocations: 0.7921 MB / 0.6825 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.74e-05/0.1242, allocations: 0 / 0.6825 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.1242, allocations: 8.859 kB / 0.6825 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.236e-05/0.1243, allocations: 3.938 kB / 0.6825 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.1247, allocations: 136.7 kB / 0.6826 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.239e-05/0.1247, allocations: 27.98 kB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.443e-05/0.1248, allocations: 12 kB / 0.6826 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.558e-05/0.1248, allocations: 11.98 kB / 0.6826 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.89e-05/0.1249, allocations: 27.84 kB / 0.6827 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1249, allocations: 4 kB / 0.6827 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003905/0.1253, allocations: 315.4 kB / 0.683 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.1253, allocations: 7.984 kB / 0.683 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.1254, allocations: 7.938 kB / 0.683 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.1256, allocations: 199.8 kB / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1256, allocations: 0 / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1257, allocations: 4 kB / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.1257, allocations: 4 kB / 0.6832 GB, free: 13.6 MB / 494.1 MB 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.0004377/0.1261, allocations: 375.5 kB / 0.6836 GB, free: 13.19 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.1261, allocations: 8.031 kB / 0.6836 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.64e-05/0.1262, allocations: 30.75 kB / 0.6836 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004345/0.1266, allocations: 68.84 kB / 0.6837 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.381e-05/0.1267, allocations: 168.3 kB / 0.6838 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.1267, allocations: 4.375 kB / 0.6838 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.1267, allocations: 384 / 0.6838 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.127, allocations: 93.69 kB / 0.6839 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.127, allocations: 0 / 0.6839 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.1271, allocations: 0 / 0.6839 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1271, allocations: 0 / 0.6839 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.1275, allocations: 95.89 kB / 0.684 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.1279, allocations: 296.8 kB / 0.6843 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.1283, allocations: 98.48 kB / 0.6844 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.1285, allocations: 52.88 kB / 0.6844 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.1285, allocations: 3.938 kB / 0.6844 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.1286, allocations: 34.56 kB / 0.6845 GB, free: 12.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1286, allocations: 0 / 0.6845 GB, free: 12.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006854/0.1292, allocations: 165.6 kB / 0.6846 GB, free: 11.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.1293, allocations: 55.41 kB / 0.6847 GB, free: 11.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.72e-05/0.1293, allocations: 93.86 kB / 0.6848 GB, free: 11.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.1294, allocations: 29.7 kB / 0.6848 GB, free: 11.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.334e-05/0.1294, allocations: 88.12 kB / 0.6849 GB, free: 11.67 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.1294, allocations: 3.906 kB / 0.6849 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.1295, allocations: 17.72 kB / 0.6849 GB, free: 11.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.1296, allocations: 314.8 kB / 0.6852 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.1298, allocations: 47.97 kB / 0.6852 GB, free: 11.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.13, allocations: 51.89 kB / 0.6853 GB, free: 11.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/0.1303, allocations: 88.83 kB / 0.6854 GB, free: 11.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1304, allocations: 3.938 kB / 0.6854 GB, free: 11.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004297/0.1308, allocations: 121.6 kB / 0.6855 GB, free: 11.01 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1308, allocations: 7.984 kB / 0.6855 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1308, allocations: 0 / 0.6855 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.1308, allocations: 0 / 0.6855 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.131, allocations: 19.98 kB / 0.6855 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.131, allocations: 8.266 kB / 0.6855 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.1311, allocations: 11.98 kB / 0.6855 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1311, allocations: 11.94 kB / 0.6856 GB, free: 10.95 MB / 494.1 MB 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.205e-05/0.1312, allocations: 118.4 kB / 0.6857 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.1312, allocations: 7.906 kB / 0.6857 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.1313, allocations: 7.109 kB / 0.6857 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1313, allocations: 0 / 0.6857 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.1313, allocations: 4 kB / 0.6857 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.1313, allocations: 0 / 0.6857 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.1314, allocations: 177.6 kB / 0.6859 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1315, allocations: 0 / 0.6859 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.1316, allocations: 19.98 kB / 0.6859 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1316, allocations: 0 / 0.6859 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.1316, allocations: 3.984 kB / 0.6859 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1316, allocations: 0 / 0.6859 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1316, allocations: 4 kB / 0.6859 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004627/0.1321, allocations: 223.4 kB / 0.6861 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.589e-05/0.1321, allocations: 77.11 kB / 0.6862 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.1321, allocations: 4 kB / 0.6862 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.1323, allocations: 11.98 kB / 0.6862 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.1323, allocations: 11.92 kB / 0.6862 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.1323, allocations: 4.031 kB / 0.6862 GB, free: 10.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.216e-05/0.1324, allocations: 83.28 kB / 0.6863 GB, free: 10.11 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1324, allocations: 0 / 0.6863 GB, free: 10.11 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.1326, allocations: 15.98 kB / 0.6863 GB, free: 10.1 MB / 494.1 MB 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.0006933/0.1333, allocations: 0.7591 MB / 0.687 GB, free: 9.309 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000434/0.1338, allocations: 103.9 kB / 0.6871 GB, free: 9.207 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1338, allocations: 4.062 kB / 0.6871 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.134, allocations: 43.95 kB / 0.6872 GB, free: 9.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.1342, allocations: 11.92 kB / 0.6872 GB, free: 9.152 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000626/0.1349, allocations: 191.8 kB / 0.6874 GB, free: 8.926 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.1351, allocations: 0.6845 MB / 0.688 GB, free: 8.215 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.872e-05/0.1351, allocations: 8 kB / 0.688 GB, free: 8.207 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.1352, allocations: 11.42 kB / 0.6881 GB, free: 8.195 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1352, allocations: 3.938 kB / 0.6881 GB, free: 8.191 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3463/0.4815, allocations: 1.662 MB / 0.6897 GB, free: 6.625 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/8.098, allocations: 16.25 kB / 0.6897 GB, free: 6.613 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)