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.0007725/0.0007726, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004942/0.004943, allocations: 170.1 kB / 16.27 MB, free: 6.648 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.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.9762/0.9762, allocations: 143.2 MB / 434.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003109, allocations: 12 kB / 0.5165 GB, free: 11.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1658, allocations: 83.41 MB / 0.598 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0009022/0.1668, allocations: 0.4999 MB / 0.5985 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.1685, allocations: 1.478 MB / 0.5999 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.167e-05/0.1685, allocations: 0 / 0.5999 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.1686, allocations: 0 / 0.5999 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.152e-05/0.1686, allocations: 0 / 0.5999 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.169, allocations: 119.7 kB / 0.6 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.29e-05/0.1691, allocations: 47.91 kB / 0.6001 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.1691, allocations: 7.984 kB / 0.6001 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.517e-05/0.1692, allocations: 19.92 kB / 0.6001 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.021e-05/0.1693, allocations: 39.83 kB / 0.6001 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1693, allocations: 4 kB / 0.6001 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004171/0.1697, allocations: 311.4 kB / 0.6004 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.1698, allocations: 15.97 kB / 0.6004 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.1698, allocations: 45.56 kB / 0.6005 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.1701, allocations: 215.8 kB / 0.6007 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1701, allocations: 0 / 0.6007 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1701, allocations: 0 / 0.6007 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.1701, allocations: 0 / 0.6007 GB, free: 4.762 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005503/0.1707, allocations: 391.4 kB / 0.6011 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1707, allocations: 8.031 kB / 0.6011 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.519e-05/0.1708, allocations: 42.73 kB / 0.6011 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004383/0.1712, allocations: 92.73 kB / 0.6012 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.1713, allocations: 168.3 kB / 0.6014 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.1713, allocations: 4.375 kB / 0.6014 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.1714, allocations: 8.375 kB / 0.6014 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.1717, allocations: 123.9 kB / 0.6015 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1718, allocations: 4 kB / 0.6015 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1718, allocations: 7.938 kB / 0.6015 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1718, allocations: 4 kB / 0.6015 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004909/0.1723, allocations: 119.9 kB / 0.6016 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005415/0.1728, allocations: 352.5 kB / 0.602 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000652/0.1735, allocations: 178.5 kB / 0.6021 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.1738, allocations: 72.73 kB / 0.6022 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.1738, allocations: 4 kB / 0.6022 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.1738, allocations: 30.56 kB / 0.6022 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.1738, allocations: 3.938 kB / 0.6022 GB, free: 3.012 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=11): time 0.3475/0.5213, allocations: 3.175 MB / 0.6053 GB, free: 41.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.5214, allocations: 62.03 kB / 0.6054 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.371e-05/0.5215, allocations: 99.17 kB / 0.6055 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.546e-05/0.5216, allocations: 25.7 kB / 0.6055 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.5216, allocations: 97.91 kB / 0.6056 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.047e-05/0.5217, allocations: 36.86 kB / 0.6056 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.867e-05/0.5218, allocations: 16.28 kB / 0.6057 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.5219, allocations: 317.8 kB / 0.606 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006466/0.5225, allocations: 215 kB / 0.6062 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/0.5232, allocations: 221.4 kB / 0.6064 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.5244, allocations: 449.1 kB / 0.6068 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.5244, allocations: 0 / 0.6068 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001433/0.5259, allocations: 0.5181 MB / 0.6073 GB, free: 40.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.5259, allocations: 6 kB / 0.6073 GB, free: 40.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.5259, allocations: 3.188 kB / 0.6073 GB, free: 40.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.5259, allocations: 3.375 kB / 0.6073 GB, free: 40.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008104/0.5267, allocations: 122.1 kB / 0.6074 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.5268, allocations: 0 / 0.6074 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006037/0.5274, allocations: 59.44 kB / 0.6075 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/0.5274, allocations: 26.83 kB / 0.6075 GB, free: 40.55 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 (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.0001338/0.5276, allocations: 114.8 kB / 0.6076 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.5276, allocations: 10.91 kB / 0.6076 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.76e-05/0.5277, allocations: 11.25 kB / 0.6077 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.5277, allocations: 6.844 kB / 0.6077 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.5277, allocations: 2.156 kB / 0.6077 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.5277, allocations: 0 / 0.6077 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.5297, allocations: 1.103 MB / 0.6087 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.5297, allocations: 0 / 0.6087 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007979/0.5305, allocations: 121.1 kB / 0.6089 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5305, allocations: 0 / 0.6089 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/0.5306, allocations: 22.95 kB / 0.6089 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5306, allocations: 0 / 0.6089 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5306, allocations: 0 / 0.6089 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.5327, allocations: 0.8779 MB / 0.6097 GB, free: 39.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.5329, allocations: 116.7 kB / 0.6099 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.725e-05/0.5329, allocations: 3 kB / 0.6099 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006867/0.5336, allocations: 58.48 kB / 0.6099 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.116e-05/0.5337, allocations: 29.56 kB / 0.6099 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/0.5338, allocations: 29.42 kB / 0.61 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.888e-05/0.5338, allocations: 81.88 kB / 0.61 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5338, allocations: 0 / 0.61 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003771/0.5342, allocations: 58.86 kB / 0.6101 GB, free: 39.54 MB / 0.4981 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.002376/0.5366, allocations: 1.416 MB / 0.6115 GB, free: 38.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001369/0.538, allocations: 475.7 kB / 0.6119 GB, free: 38.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.538, allocations: 0 / 0.6119 GB, free: 38.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006739/0.5386, allocations: 252.2 kB / 0.6122 GB, free: 38.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.539, allocations: 10.38 kB / 0.6122 GB, free: 38.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00822/0.5473, allocations: 3.172 MB / 0.6153 GB, free: 37.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.5474, allocations: 0.6975 MB / 0.616 GB, free: 36.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006212/0.548, allocations: 93.11 kB / 0.6161 GB, free: 36.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.5483, allocations: 67.48 kB / 0.6161 GB, free: 36.77 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.5483, allocations: 0 / 0.6161 GB, free: 36.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01343/0.5618, allocations: 4.241 MB / 0.6203 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/0.5619, allocations: 236.4 kB / 0.6205 GB, free: 36.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.416, allocations: 7.625 kB / 0.6205 GB, free: 36.31 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)