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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.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.0009318/0.000932, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009547/0.0009548, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9963/0.9963, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003213, allocations: 8 kB / 0.5159 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1752, allocations: 83.42 MB / 0.5974 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0009566/0.1762, allocations: 0.4955 MB / 0.5979 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001805/0.178, allocations: 1.404 MB / 0.5992 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.082e-05/0.1781, allocations: 0 / 0.5992 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.1781, allocations: 3.938 kB / 0.5992 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.989e-05/0.1782, allocations: 4 kB / 0.5992 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.1787, allocations: 107.7 kB / 0.5993 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.416e-05/0.1788, allocations: 35.95 kB / 0.5994 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.716e-05/0.1788, allocations: 3.938 kB / 0.5994 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.294e-05/0.1789, allocations: 23.97 kB / 0.5994 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.13e-05/0.179, allocations: 35.84 kB / 0.5994 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.179, allocations: 7.938 kB / 0.5994 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004105/0.1795, allocations: 303.5 kB / 0.5997 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.1795, allocations: 15.92 kB / 0.5997 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.1795, allocations: 29.7 kB / 0.5998 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.1798, allocations: 156.1 kB / 0.5999 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.1798, allocations: 0 / 0.5999 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1798, allocations: 4 kB / 0.5999 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.1798, allocations: 0 / 0.5999 GB, free: 5.082 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.0005829/0.1804, allocations: 391.2 kB / 0.6003 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1804, allocations: 12.03 kB / 0.6003 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.1805, allocations: 34.56 kB / 0.6003 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004285/0.1809, allocations: 87.81 kB / 0.6004 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.181, allocations: 174.9 kB / 0.6006 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.1811, allocations: 8 kB / 0.6006 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.1811, allocations: 11.98 kB / 0.6006 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/0.1815, allocations: 113.6 kB / 0.6007 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1815, allocations: 0 / 0.6007 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1815, allocations: 0 / 0.6007 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.1815, allocations: 4 kB / 0.6007 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/0.182, allocations: 131.8 kB / 0.6008 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.1825, allocations: 348.6 kB / 0.6012 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006558/0.1832, allocations: 182.4 kB / 0.6014 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.1832, allocations: 0 / 0.6014 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1833, allocations: 38.45 kB / 0.6014 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.1833, allocations: 0 / 0.6014 GB, free: 3.406 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.01768/0.201, allocations: 3.189 MB / 0.6045 GB, free: 124 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.201, allocations: 51.41 kB / 0.6046 GB, free: 60 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3188/0.5198, allocations: 94.73 kB / 0.6046 GB, free: 41.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.719e-05/0.52, allocations: 30.89 kB / 0.6047 GB, free: 41.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.52, allocations: 90.25 kB / 0.6048 GB, free: 41.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.455e-05/0.5201, allocations: 40.25 kB / 0.6048 GB, free: 41.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.5202, allocations: 3.188 kB / 0.6048 GB, free: 41.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.791e-05/0.5202, allocations: 319.2 kB / 0.6051 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007302/0.521, allocations: 214.6 kB / 0.6053 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006017/0.5216, allocations: 216.7 kB / 0.6055 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006443/0.5222, allocations: 219.3 kB / 0.6057 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5222, allocations: 0 / 0.6057 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001443/0.5237, allocations: 0.5211 MB / 0.6062 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.5237, allocations: 5.406 kB / 0.6062 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.5237, allocations: 0.625 kB / 0.6062 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.5237, allocations: 0 / 0.6062 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007933/0.5245, allocations: 122 kB / 0.6064 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.5246, allocations: 0 / 0.6064 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005947/0.5252, allocations: 60.84 kB / 0.6064 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.5252, allocations: 28.59 kB / 0.6064 GB, free: 40.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.5254, allocations: 118.5 kB / 0.6066 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.606e-05/0.5254, allocations: 7.906 kB / 0.6066 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.185e-05/0.5255, allocations: 11.41 kB / 0.6066 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.5255, allocations: 3 kB / 0.6066 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5255, allocations: 4.828 kB / 0.6066 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.5255, allocations: 2.031 kB / 0.6066 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.5275, allocations: 1.098 MB / 0.6077 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5275, allocations: 0 / 0.6077 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007581/0.5283, allocations: 122.2 kB / 0.6078 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.5283, allocations: 3.469 kB / 0.6078 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/0.5283, allocations: 24 kB / 0.6078 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.5284, allocations: 1.625 kB / 0.6078 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5284, allocations: 4 kB / 0.6078 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/0.5304, allocations: 0.8651 MB / 0.6086 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.5306, allocations: 120.4 kB / 0.6088 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.797e-05/0.5307, allocations: 3.812 kB / 0.6088 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006404/0.5313, allocations: 59.44 kB / 0.6088 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.855e-05/0.5314, allocations: 32.33 kB / 0.6089 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.838e-05/0.5315, allocations: 22.41 kB / 0.6089 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.617e-05/0.5315, allocations: 88.08 kB / 0.609 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5315, allocations: 0 / 0.609 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003699/0.5319, allocations: 51.94 kB / 0.609 GB, free: 39.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002377/0.5343, allocations: 1.418 MB / 0.6104 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.5356, allocations: 476.8 kB / 0.6108 GB, free: 39.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5356, allocations: 1.125 kB / 0.6109 GB, free: 39.22 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006518/0.5363, allocations: 249.2 kB / 0.6111 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.5365, allocations: 11.28 kB / 0.6111 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006105/0.5426, allocations: 1.864 MB / 0.6129 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.5428, allocations: 0.6992 MB / 0.6136 GB, free: 38.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006289/0.5434, allocations: 93.48 kB / 0.6137 GB, free: 38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/0.5437, allocations: 62.7 kB / 0.6138 GB, free: 38 MB / 0.4981 GB Notification: Performance of SimCode: time 7.01e-07/0.5437, allocations: 0 / 0.6138 GB, free: 38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01503/0.5587, allocations: 4.151 MB / 0.6178 GB, free: 37.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/0.559, allocations: 214.8 kB / 0.618 GB, free: 37.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.337, allocations: 0 / 0.618 GB, free: 37.54 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/linux/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) Environment - environmentSimulation: