Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_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.00133/0.00133, allocations: 108 kB / 15.61 MB, free: 128 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.001237/0.001237, allocations: 198 kB / 16.53 MB, free: 6.668 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9145/0.9145, allocations: 143 MB / 433.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001536, allocations: 72.08 kB / 0.5143 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1816, allocations: 82.04 MB / 0.5944 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001932/0.1836, allocations: 0.6308 MB / 0.595 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001785/0.1854, allocations: 1.446 MB / 0.5964 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.689e-05/0.1854, allocations: 0 / 0.5964 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.1855, allocations: 3.938 kB / 0.5964 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.892e-05/0.1856, allocations: 7.922 kB / 0.5964 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.186, allocations: 123.5 kB / 0.5966 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.287e-05/0.186, allocations: 23.92 kB / 0.5966 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.1861, allocations: 7.938 kB / 0.5966 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.107e-05/0.1861, allocations: 19.91 kB / 0.5966 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.987e-05/0.1862, allocations: 23.86 kB / 0.5966 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1862, allocations: 0 / 0.5966 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004651/0.1867, allocations: 323.3 kB / 0.5969 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/0.1867, allocations: 7.984 kB / 0.5969 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.1868, allocations: 11.88 kB / 0.597 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.1871, allocations: 191.9 kB / 0.5971 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1871, allocations: 0 / 0.5971 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1871, allocations: 0 / 0.5971 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.1871, allocations: 0 / 0.5971 GB, free: 6.648 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000521/0.1877, allocations: 379.3 kB / 0.5975 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1877, allocations: 12.03 kB / 0.5975 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.374e-05/0.1877, allocations: 30.75 kB / 0.5975 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003775/0.1881, allocations: 56.86 kB / 0.5976 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.1883, allocations: 180.2 kB / 0.5978 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.1883, allocations: 4.359 kB / 0.5978 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.1883, allocations: 384 / 0.5978 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.1886, allocations: 77.77 kB / 0.5978 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1886, allocations: 4 kB / 0.5979 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1886, allocations: 4 kB / 0.5979 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1887, allocations: 4 kB / 0.5979 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004196/0.1891, allocations: 67.92 kB / 0.5979 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.1893, allocations: 169.7 kB / 0.5981 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005247/0.1898, allocations: 126.4 kB / 0.5982 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.19, allocations: 48.94 kB / 0.5983 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.1901, allocations: 0 / 0.5983 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.1901, allocations: 34.5 kB / 0.5983 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1901, allocations: 0 / 0.5983 GB, free: 5.305 MB / 0.4981 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.004112/0.1942, allocations: 0.7997 MB / 0.5991 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.1943, allocations: 55.39 kB / 0.5991 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1944, allocations: 109.8 kB / 0.5992 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.1944, allocations: 29.7 kB / 0.5993 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.1945, allocations: 84.14 kB / 0.5993 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.38e-05/0.1945, allocations: 27.56 kB / 0.5994 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-05/0.1946, allocations: 25.8 kB / 0.5994 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.1947, allocations: 322.8 kB / 0.5997 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004471/0.1952, allocations: 99.89 kB / 0.5998 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004166/0.1956, allocations: 95.91 kB / 0.5999 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008298/0.1965, allocations: 192.6 kB / 0.6001 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1965, allocations: 3.938 kB / 0.6001 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009368/0.1974, allocations: 249.3 kB / 0.6003 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.1975, allocations: 4 kB / 0.6003 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1975, allocations: 0 / 0.6003 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.1975, allocations: 0 / 0.6003 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/0.1978, allocations: 55.94 kB / 0.6004 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1978, allocations: 0 / 0.6004 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.1981, allocations: 39.95 kB / 0.6004 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.1981, allocations: 4 kB / 0.6004 GB, free: 3.074 MB / 0.4981 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 (9): * Single equations (assignments): 9 * 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 0.0001228/0.1982, allocations: 117.8 kB / 0.6005 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.1983, allocations: 7.906 kB / 0.6005 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.862e-05/0.1983, allocations: 12.36 kB / 0.6005 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1984, allocations: 0 / 0.6005 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.1984, allocations: 0 / 0.6005 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1984, allocations: 0 / 0.6005 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.2003, allocations: 0.5974 MB / 0.6011 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2003, allocations: 3.938 kB / 0.6011 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.2006, allocations: 60.28 kB / 0.6012 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.2006, allocations: 0 / 0.6012 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.2006, allocations: 7.984 kB / 0.6012 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2006, allocations: 3.938 kB / 0.6012 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.2006, allocations: 7.922 kB / 0.6012 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000965/0.2016, allocations: 340.9 kB / 0.6015 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.2017, allocations: 85 kB / 0.6016 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.2017, allocations: 8.562 kB / 0.6016 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.2019, allocations: 31.95 kB / 0.6016 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.202, allocations: 19.86 kB / 0.6017 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.202, allocations: 4 kB / 0.6017 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.917e-05/0.2021, allocations: 95.27 kB / 0.6018 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2021, allocations: 4 kB / 0.6018 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002909/0.2024, allocations: 32 kB / 0.6018 GB, free: 1.535 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.001464/0.2039, allocations: 0.8936 MB / 0.6027 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009488/0.2048, allocations: 211.7 kB / 0.6029 GB, free: 412 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.2048, allocations: 0 / 0.6029 GB, free: 412 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004336/0.2053, allocations: 116.6 kB / 0.603 GB, free: 296 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.2056, allocations: 7.938 kB / 0.603 GB, free: 288 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2165/0.422, allocations: 2.118 MB / 0.6051 GB, free: 42.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.954e-05/0.4222, allocations: 0.6871 MB / 0.6057 GB, free: 42.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.4223, allocations: 25.03 kB / 0.6057 GB, free: 42.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.655e-05/0.4224, allocations: 30.72 kB / 0.6058 GB, free: 42.26 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/0.4224, allocations: 0 / 0.6058 GB, free: 42.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01591/0.4383, allocations: 2.725 MB / 0.6084 GB, free: 41.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.664/8.102, allocations: 6.922 kB / 0.6084 GB, free: 41.98 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)