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.00818/0.00818, allocations: 103.2 kB / 15.74 MB, free: 6.449 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.001938/0.001938, allocations: 199.3 kB / 16.68 MB, free: 6.352 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.281 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.9778/0.9778, allocations: 143 MB / 433.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.91 kB / 0.5951 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4725/0.4738, allocations: 82.03 MB / 0.6752 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001569/0.4754, allocations: 0.6354 MB / 0.6758 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.477, allocations: 1.462 MB / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.4771, allocations: 0.9062 kB / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.4771, allocations: 0 / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.4772, allocations: 9.094 kB / 0.6773 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.4777, allocations: 122.5 kB / 0.6774 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.291e-05/0.4778, allocations: 32.28 kB / 0.6774 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.691e-05/0.4778, allocations: 2.25 kB / 0.6774 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.431e-05/0.4779, allocations: 13.59 kB / 0.6774 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.039e-05/0.4779, allocations: 25.64 kB / 0.6775 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.478, allocations: 2.5 kB / 0.6775 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004461/0.4784, allocations: 315.4 kB / 0.6778 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.4784, allocations: 6.594 kB / 0.6778 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.4785, allocations: 21.91 kB / 0.6778 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.4788, allocations: 188.6 kB / 0.678 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4788, allocations: 0 / 0.678 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4788, allocations: 0 / 0.678 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.4788, allocations: 1.062 kB / 0.678 GB, free: 15.04 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.0005343/0.4793, allocations: 387.2 kB / 0.6783 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.4794, allocations: 8.75 kB / 0.6783 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.4794, allocations: 35.92 kB / 0.6784 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004019/0.4798, allocations: 55.44 kB / 0.6784 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.48, allocations: 172.6 kB / 0.6786 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.48, allocations: 5.469 kB / 0.6786 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.48, allocations: 2.438 kB / 0.6786 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.4803, allocations: 76.98 kB / 0.6787 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.4803, allocations: 1.094 kB / 0.6787 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.4803, allocations: 3.938 kB / 0.6787 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.4804, allocations: 1.406 kB / 0.6787 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.4807, allocations: 72.53 kB / 0.6788 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.4809, allocations: 163 kB / 0.6789 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005414/0.4815, allocations: 131.6 kB / 0.679 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.4817, allocations: 42.67 kB / 0.6791 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.4817, allocations: 0 / 0.6791 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.4817, allocations: 43.52 kB / 0.6791 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.4817, allocations: 1.188 kB / 0.6791 GB, free: 13.93 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.004321/0.4861, allocations: 0.787 MB / 0.6799 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.4861, allocations: 52.69 kB / 0.6799 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.4863, allocations: 114.2 kB / 0.68 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.4863, allocations: 26.95 kB / 0.6801 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.4864, allocations: 85.3 kB / 0.6802 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.15e-05/0.4864, allocations: 34.97 kB / 0.6802 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/0.4865, allocations: 29.7 kB / 0.6802 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4867, allocations: 324.9 kB / 0.6805 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004511/0.4872, allocations: 92.94 kB / 0.6806 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004511/0.4876, allocations: 96.73 kB / 0.6807 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008814/0.4885, allocations: 196.2 kB / 0.6809 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.4885, allocations: 3.938 kB / 0.6809 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001008/0.4895, allocations: 238.7 kB / 0.6811 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.4896, allocations: 7.25 kB / 0.6811 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4896, allocations: 0 / 0.6811 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.4896, allocations: 1.344 kB / 0.6811 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.4899, allocations: 54 kB / 0.6812 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.49, allocations: 1.094 kB / 0.6812 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.4902, allocations: 45.05 kB / 0.6812 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.4902, allocations: 11.27 kB / 0.6812 GB, free: 12.57 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 0.0001192/0.4904, allocations: 112.9 kB / 0.6813 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.4904, allocations: 2.188 kB / 0.6813 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.778e-05/0.4905, allocations: 18.41 kB / 0.6814 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.4905, allocations: 1.062 kB / 0.6814 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.4905, allocations: 4 kB / 0.6814 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.4905, allocations: 1.031 kB / 0.6814 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.4922, allocations: 0.5943 MB / 0.6819 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4923, allocations: 5.375 kB / 0.682 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.4925, allocations: 54.11 kB / 0.682 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.4926, allocations: 5.234 kB / 0.682 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.4926, allocations: 7.125 kB / 0.682 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4926, allocations: 5.703 kB / 0.682 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.4926, allocations: 5.188 kB / 0.682 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.4936, allocations: 335.2 kB / 0.6823 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.4937, allocations: 88.19 kB / 0.6824 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.4937, allocations: 9.234 kB / 0.6824 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.494, allocations: 32.64 kB / 0.6825 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.494, allocations: 16.73 kB / 0.6825 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.4941, allocations: 7.703 kB / 0.6825 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.395e-05/0.4941, allocations: 91.73 kB / 0.6826 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4942, allocations: 0 / 0.6826 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003512/0.4945, allocations: 44.02 kB / 0.6826 GB, free: 11.45 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.001496/0.496, allocations: 0.8959 MB / 0.6835 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000976/0.497, allocations: 212.9 kB / 0.6837 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.497, allocations: 3.938 kB / 0.6837 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004818/0.4975, allocations: 105 kB / 0.6838 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.4978, allocations: 6.688 kB / 0.6838 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004898/0.5027, allocations: 2.132 MB / 0.6859 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.503, allocations: 0.687 MB / 0.6866 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.5031, allocations: 21.17 kB / 0.6866 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.703e-05/0.5032, allocations: 27.33 kB / 0.6866 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of SimCode: time 8.31e-07/0.5032, allocations: 0 / 0.6866 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.5247, allocations: 2.778 MB / 0.6893 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.612/8.137, allocations: 11.62 kB / 0.6893 GB, free: 6.711 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)