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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(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.007647/0.007647, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.001752/0.001752, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.019/1.019, allocations: 143.3 MB / 433.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 79.83 kB / 0.5954 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3858, allocations: 82.02 MB / 0.6755 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001661/0.3875, allocations: 0.6342 MB / 0.6761 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001818/0.3893, allocations: 1.454 MB / 0.6775 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.3894, allocations: 1.188 kB / 0.6775 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.3894, allocations: 0 / 0.6775 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.461e-05/0.3895, allocations: 9.188 kB / 0.6775 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000437/0.39, allocations: 120.8 kB / 0.6776 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.263e-05/0.39, allocations: 31.97 kB / 0.6777 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.3901, allocations: 3.719 kB / 0.6777 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.208e-05/0.3901, allocations: 13.56 kB / 0.6777 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.222e-05/0.3902, allocations: 26 kB / 0.6777 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.3903, allocations: 1.125 kB / 0.6777 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005263/0.3908, allocations: 317.3 kB / 0.678 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.3908, allocations: 5.172 kB / 0.678 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.3909, allocations: 18.05 kB / 0.678 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.3912, allocations: 192 kB / 0.6782 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3912, allocations: 0 / 0.6782 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3912, allocations: 0 / 0.6782 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.3912, allocations: 0 / 0.6782 GB, free: 14.94 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.0006029/0.3918, allocations: 383.7 kB / 0.6786 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3919, allocations: 9.469 kB / 0.6786 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.3919, allocations: 31.94 kB / 0.6786 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003494/0.3923, allocations: 58.61 kB / 0.6787 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.3925, allocations: 180.6 kB / 0.6788 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.3925, allocations: 2.531 kB / 0.6788 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.3925, allocations: 1.469 kB / 0.6788 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.3928, allocations: 77.52 kB / 0.6789 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3928, allocations: 0 / 0.6789 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3928, allocations: 5.219 kB / 0.6789 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.3928, allocations: 0 / 0.6789 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003601/0.3932, allocations: 81.41 kB / 0.679 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.3934, allocations: 167.9 kB / 0.6792 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005619/0.394, allocations: 127 kB / 0.6793 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.3942, allocations: 41.92 kB / 0.6793 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.3942, allocations: 1.062 kB / 0.6793 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.3943, allocations: 35.72 kB / 0.6794 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3943, allocations: 0 / 0.6794 GB, free: 13.82 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.004059/0.3983, allocations: 0.7965 MB / 0.6801 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.3984, allocations: 56.66 kB / 0.6802 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3985, allocations: 109.9 kB / 0.6803 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.3986, allocations: 25.7 kB / 0.6803 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.3986, allocations: 86.2 kB / 0.6804 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.3987, allocations: 30.89 kB / 0.6804 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.3987, allocations: 25.42 kB / 0.6805 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3989, allocations: 321.2 kB / 0.6808 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004484/0.3993, allocations: 100.3 kB / 0.6809 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004324/0.3998, allocations: 97.02 kB / 0.6809 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008311/0.4006, allocations: 191.3 kB / 0.6811 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4006, allocations: 3.938 kB / 0.6811 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009649/0.4016, allocations: 246.6 kB / 0.6814 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.4016, allocations: 5.625 kB / 0.6814 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4016, allocations: 0 / 0.6814 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.4017, allocations: 1.125 kB / 0.6814 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.402, allocations: 55 kB / 0.6814 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.402, allocations: 0 / 0.6814 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.4022, allocations: 41.77 kB / 0.6815 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.4023, allocations: 2.656 kB / 0.6815 GB, free: 12.46 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.0001051/0.4024, allocations: 124.4 kB / 0.6816 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.4024, allocations: 3.125 kB / 0.6816 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.733e-05/0.4025, allocations: 10.47 kB / 0.6816 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4025, allocations: 0 / 0.6816 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4025, allocations: 4 kB / 0.6816 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4025, allocations: 1.25 kB / 0.6816 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.4042, allocations: 0.5948 MB / 0.6822 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4043, allocations: 9.188 kB / 0.6822 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.4045, allocations: 54.88 kB / 0.6822 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4045, allocations: 1.5 kB / 0.6822 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.4046, allocations: 10.67 kB / 0.6823 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.4046, allocations: 2.156 kB / 0.6823 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.4046, allocations: 7.938 kB / 0.6823 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009641/0.4056, allocations: 340.4 kB / 0.6826 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.4056, allocations: 86.44 kB / 0.6827 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.4057, allocations: 2.656 kB / 0.6827 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.4059, allocations: 32.45 kB / 0.6827 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.406, allocations: 21.42 kB / 0.6827 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.406, allocations: 6.75 kB / 0.6827 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.734e-05/0.4061, allocations: 91.52 kB / 0.6828 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4061, allocations: 1.375 kB / 0.6828 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000298/0.4064, allocations: 39.36 kB / 0.6829 GB, free: 11.34 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.001458/0.4078, allocations: 0.9008 MB / 0.6837 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009266/0.4088, allocations: 207.5 kB / 0.6839 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4088, allocations: 4 kB / 0.6839 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004436/0.4092, allocations: 113 kB / 0.6841 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.4095, allocations: 16.28 kB / 0.6841 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004758/0.4143, allocations: 2.129 MB / 0.6861 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.4146, allocations: 0.6876 MB / 0.6868 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000107/0.4147, allocations: 21.55 kB / 0.6868 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.202e-05/0.4148, allocations: 23.33 kB / 0.6869 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of SimCode: time 9.12e-07/0.4148, allocations: 0 / 0.6869 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.4387, allocations: 2.767 MB / 0.6896 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.357, allocations: 9.875 kB / 0.6896 GB, free: 6.605 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)