Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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.005345/0.005345, allocations: 99.11 kB / 15.73 MB, free: 6.035 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.001255/0.001256, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.324 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 1.004/1.004, allocations: 143 MB / 433.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.91 kB / 0.5951 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4263, allocations: 82.04 MB / 0.6752 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00195/0.4283, allocations: 0.7663 MB / 0.676 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002124/0.4305, allocations: 1.479 MB / 0.6774 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.078e-05/0.4305, allocations: 1.312 kB / 0.6774 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.143e-05/0.4306, allocations: 7.875 kB / 0.6774 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.929e-05/0.4307, allocations: 3.938 kB / 0.6774 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.4313, allocations: 150.3 kB / 0.6776 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.4314, allocations: 43.31 kB / 0.6776 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.944e-05/0.4315, allocations: 3.5 kB / 0.6776 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.24e-05/0.4315, allocations: 30.61 kB / 0.6776 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.817e-05/0.4316, allocations: 33.5 kB / 0.6777 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.4317, allocations: 4.656 kB / 0.6777 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005313/0.4322, allocations: 323.4 kB / 0.678 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.4322, allocations: 14.05 kB / 0.678 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.874e-05/0.4323, allocations: 26.83 kB / 0.678 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.4327, allocations: 215.9 kB / 0.6782 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4327, allocations: 4 kB / 0.6782 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4327, allocations: 0 / 0.6782 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.4327, allocations: 1.062 kB / 0.6782 GB, free: 14.88 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007369/0.4334, allocations: 397 kB / 0.6786 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.4335, allocations: 10.56 kB / 0.6786 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.58e-05/0.4335, allocations: 40.73 kB / 0.6787 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004847/0.434, allocations: 73.8 kB / 0.6787 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.4342, allocations: 165.6 kB / 0.6789 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.4342, allocations: 11.81 kB / 0.6789 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.4343, allocations: 8.891 kB / 0.6789 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000407/0.4347, allocations: 114.4 kB / 0.679 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.4347, allocations: 0 / 0.679 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.4347, allocations: 1.094 kB / 0.679 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.4347, allocations: 5.156 kB / 0.679 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005104/0.4353, allocations: 107.8 kB / 0.6791 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006482/0.4359, allocations: 340.8 kB / 0.6795 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006878/0.4366, allocations: 152 kB / 0.6796 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.4369, allocations: 66.53 kB / 0.6797 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.4369, allocations: 1.062 kB / 0.6797 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.437, allocations: 39.84 kB / 0.6797 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.437, allocations: 0 / 0.6797 GB, free: 13.55 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=11): time 0.01894/0.4559, allocations: 2.831 MB / 0.6825 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.456, allocations: 57.97 kB / 0.6825 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.064e-05/0.4561, allocations: 98.61 kB / 0.6826 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.968e-05/0.4561, allocations: 29.8 kB / 0.6827 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.4562, allocations: 94.81 kB / 0.6827 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.607e-05/0.4563, allocations: 39.52 kB / 0.6828 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.4565, allocations: 73.11 kB / 0.6829 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4566, allocations: 317.3 kB / 0.6832 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008162/0.4574, allocations: 193 kB / 0.6833 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006757/0.4581, allocations: 192.5 kB / 0.6835 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.4595, allocations: 397.8 kB / 0.6839 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4595, allocations: 0 / 0.6839 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001769/0.4613, allocations: 481 kB / 0.6844 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.4613, allocations: 5.156 kB / 0.6844 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.4614, allocations: 4 kB / 0.6844 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.4614, allocations: 1.406 kB / 0.6844 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008693/0.4623, allocations: 104.6 kB / 0.6845 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.4623, allocations: 1 kB / 0.6845 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006204/0.4629, allocations: 50.59 kB / 0.6845 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/0.463, allocations: 25.92 kB / 0.6845 GB, free: 10.41 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 (13): * Single equations (assignments): 13 * 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.0001939/0.4632, allocations: 117.5 kB / 0.6847 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.924e-05/0.4633, allocations: 6.812 kB / 0.6847 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.394e-05/0.4634, allocations: 13 kB / 0.6847 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.4634, allocations: 5.344 kB / 0.6847 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.4634, allocations: 0 / 0.6847 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.4634, allocations: 1.312 kB / 0.6847 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/0.4659, allocations: 1.056 MB / 0.6857 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4659, allocations: 0 / 0.6857 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008429/0.4668, allocations: 108.7 kB / 0.6858 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.4668, allocations: 1.219 kB / 0.6858 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/0.4669, allocations: 20.66 kB / 0.6858 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4669, allocations: 5.281 kB / 0.6858 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.4669, allocations: 3.984 kB / 0.6858 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.4694, allocations: 0.7933 MB / 0.6866 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.4696, allocations: 116 kB / 0.6867 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.215e-05/0.4697, allocations: 5.266 kB / 0.6867 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000685/0.4704, allocations: 47.53 kB / 0.6868 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/0.4704, allocations: 29.52 kB / 0.6868 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/0.4705, allocations: 23.03 kB / 0.6868 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001982/0.4707, allocations: 82.28 kB / 0.6869 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4707, allocations: 0 / 0.6869 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004161/0.4711, allocations: 46.88 kB / 0.687 GB, free: 8.531 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.00287/0.474, allocations: 1.353 MB / 0.6883 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001509/0.4755, allocations: 429.2 kB / 0.6887 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4756, allocations: 3.938 kB / 0.6887 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007317/0.4763, allocations: 224.5 kB / 0.6889 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.4767, allocations: 9.125 kB / 0.6889 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008975/0.4857, allocations: 2.939 MB / 0.6918 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.4861, allocations: 0.7008 MB / 0.6925 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006036/0.4867, allocations: 88.67 kB / 0.6925 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/0.487, allocations: 63.3 kB / 0.6926 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.487, allocations: 0 / 0.6926 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.5112, allocations: 4.59 MB / 0.6971 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.779/8.29, allocations: 8 kB / 0.6971 GB, free: 15.52 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)