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.005065/0.005065, allocations: 100.7 kB / 15.73 MB, free: 6.469 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.001154/0.001154, allocations: 193.2 kB / 16.67 MB, free: 6.379 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.952/0.952, allocations: 143 MB / 433.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 67.91 kB / 0.5951 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4465/0.4489, allocations: 82.03 MB / 0.6752 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001641/0.4506, allocations: 0.6233 MB / 0.6758 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001742/0.4524, allocations: 1.458 MB / 0.6772 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.4524, allocations: 1.562 kB / 0.6772 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.4524, allocations: 3.938 kB / 0.6772 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.445e-05/0.4525, allocations: 3.938 kB / 0.6773 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004697/0.453, allocations: 126.8 kB / 0.6774 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.266e-05/0.4531, allocations: 23.17 kB / 0.6774 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.4531, allocations: 10.34 kB / 0.6774 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.7e-05/0.4532, allocations: 14.94 kB / 0.6774 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.77e-05/0.4532, allocations: 20.81 kB / 0.6774 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.4533, allocations: 2.406 kB / 0.6774 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005365/0.4538, allocations: 316.7 kB / 0.6777 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.4538, allocations: 9.078 kB / 0.6778 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.4539, allocations: 10.38 kB / 0.6778 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.4542, allocations: 185.7 kB / 0.6779 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4542, allocations: 4 kB / 0.6779 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4542, allocations: 0 / 0.6779 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.4542, allocations: 0 / 0.6779 GB, free: 15.13 MB / 0.5137 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.0005838/0.4548, allocations: 376.2 kB / 0.6783 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.4549, allocations: 9.594 kB / 0.6783 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.162e-05/0.4549, allocations: 35.78 kB / 0.6783 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004322/0.4554, allocations: 62.48 kB / 0.6784 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.4555, allocations: 180.6 kB / 0.6786 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.4556, allocations: 2.656 kB / 0.6786 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.4556, allocations: 5.531 kB / 0.6786 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.4559, allocations: 77.08 kB / 0.6787 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.4559, allocations: 1.062 kB / 0.6787 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.4559, allocations: 0 / 0.6787 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4559, allocations: 1.156 kB / 0.6787 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.4563, allocations: 73.17 kB / 0.6787 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.4565, allocations: 170.9 kB / 0.6789 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005183/0.457, allocations: 135.1 kB / 0.679 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.4572, allocations: 38.48 kB / 0.6791 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.4572, allocations: 5.141 kB / 0.6791 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.4572, allocations: 43.69 kB / 0.6791 GB, free: 14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.4572, allocations: 0 / 0.6791 GB, free: 14 MB / 0.5137 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.003952/0.4612, allocations: 0.7847 MB / 0.6799 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.4612, allocations: 52.53 kB / 0.6799 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.578e-05/0.4613, allocations: 117.6 kB / 0.68 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.4614, allocations: 26.8 kB / 0.6801 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.4614, allocations: 89.36 kB / 0.6801 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.4615, allocations: 26.92 kB / 0.6802 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.4615, allocations: 25.98 kB / 0.6802 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4616, allocations: 313.2 kB / 0.6805 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/0.462, allocations: 99.95 kB / 0.6806 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.4624, allocations: 100.8 kB / 0.6807 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007792/0.4632, allocations: 191 kB / 0.6809 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4632, allocations: 3.938 kB / 0.6809 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008469/0.4641, allocations: 246.5 kB / 0.6811 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4641, allocations: 5.688 kB / 0.6811 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.4641, allocations: 0 / 0.6811 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4641, allocations: 1.344 kB / 0.6811 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.4645, allocations: 55 kB / 0.6812 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.4645, allocations: 4 kB / 0.6812 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.4647, allocations: 33.77 kB / 0.6812 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.4647, allocations: 2.562 kB / 0.6812 GB, free: 12.66 MB / 0.5137 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 9.542e-05/0.4648, allocations: 124.1 kB / 0.6813 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.4648, allocations: 7.422 kB / 0.6813 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.163e-05/0.4649, allocations: 13.56 kB / 0.6813 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4649, allocations: 1.125 kB / 0.6813 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4649, allocations: 1.156 kB / 0.6813 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4649, allocations: 3.984 kB / 0.6813 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.4665, allocations: 0.5989 MB / 0.6819 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4665, allocations: 5.312 kB / 0.6819 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.4668, allocations: 54.38 kB / 0.682 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.4668, allocations: 1.375 kB / 0.682 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.4668, allocations: 10.73 kB / 0.682 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4669, allocations: 1.375 kB / 0.682 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.4669, allocations: 5.312 kB / 0.682 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009378/0.4678, allocations: 343.3 kB / 0.6823 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.4679, allocations: 79.86 kB / 0.6824 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.4679, allocations: 5.375 kB / 0.6824 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.4682, allocations: 41.89 kB / 0.6825 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.4682, allocations: 12.05 kB / 0.6825 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.4682, allocations: 4.125 kB / 0.6825 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.181e-05/0.4683, allocations: 91.52 kB / 0.6826 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4683, allocations: 0 / 0.6826 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003373/0.4687, allocations: 39.19 kB / 0.6826 GB, free: 11.54 MB / 0.5137 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.001483/0.4702, allocations: 0.8968 MB / 0.6835 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009239/0.4711, allocations: 216.4 kB / 0.6837 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4711, allocations: 0 / 0.6837 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004139/0.4715, allocations: 104.5 kB / 0.6838 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.4718, allocations: 12.97 kB / 0.6838 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004626/0.4764, allocations: 2.14 MB / 0.6859 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.4767, allocations: 0.6841 MB / 0.6866 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.4768, allocations: 20.31 kB / 0.6866 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.871e-05/0.4769, allocations: 31.17 kB / 0.6866 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/0.4769, allocations: 0 / 0.6866 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/0.4969, allocations: 2.817 MB / 0.6894 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.463/7.96, allocations: 8.062 kB / 0.6894 GB, free: 6.773 MB / 0.5137 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)