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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7653/0.7653, allocations: 128.7 MB / 143.7 MB, free: 2.328 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 184.1 kB / 173.7 MB, free: 6.145 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.4 MB / 409 MB, free: 10.53 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009249/0.000925, allocations: 90.66 kB / 486.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003682, allocations: 11.09 kB / 0.5604 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1445, allocations: 76.78 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.2839, allocations: 104.3 MB / 0.7373 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.2842, allocations: 79.95 kB / 0.7373 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01809/0.3023, allocations: 5.827 MB / 0.743 GB, free: 152 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3023, allocations: 0 / 0.743 GB, free: 152 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.3023, allocations: 4 kB / 0.743 GB, free: 148 kB / 0.5105 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.3049/0.6073, allocations: 403.6 kB / 0.7434 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.6073, allocations: 9.781 kB / 0.7434 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.514e-05/0.6074, allocations: 38.42 kB / 0.7435 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003884/0.6078, allocations: 70.16 kB / 0.7435 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.729e-05/0.6079, allocations: 169.1 kB / 0.7437 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.6079, allocations: 6.141 kB / 0.7437 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.6079, allocations: 9.203 kB / 0.7437 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.6083, allocations: 124.1 kB / 0.7438 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.6083, allocations: 1.75 kB / 0.7438 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.6083, allocations: 3 kB / 0.7438 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.6084, allocations: 2.344 kB / 0.7438 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004583/0.6088, allocations: 128.8 kB / 0.7439 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.6093, allocations: 335.9 kB / 0.7443 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005982/0.6099, allocations: 188.9 kB / 0.7444 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.61, allocations: 5.641 kB / 0.7444 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.61, allocations: 33.44 kB / 0.7445 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.61, allocations: 0 / 0.7445 GB, free: 108.3 MB / 0.5105 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.01899/0.629, allocations: 3.179 MB / 0.7476 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.6291, allocations: 56.31 kB / 0.7476 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.97e-05/0.6292, allocations: 96.61 kB / 0.7477 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/0.6292, allocations: 30.58 kB / 0.7478 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.572e-05/0.6293, allocations: 90.83 kB / 0.7478 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.5e-05/0.6293, allocations: 45.92 kB / 0.7479 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.6294, allocations: 0 / 0.7479 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.555e-05/0.6294, allocations: 317.2 kB / 0.7482 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006333/0.6301, allocations: 214.4 kB / 0.7484 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/0.6307, allocations: 217.3 kB / 0.7486 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006195/0.6313, allocations: 217.3 kB / 0.7488 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.6314, allocations: 96 / 0.7488 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001437/0.6328, allocations: 0.5318 MB / 0.7493 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.6328, allocations: 5.469 kB / 0.7493 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6328, allocations: 0 / 0.7493 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.6329, allocations: 0 / 0.7493 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008627/0.6337, allocations: 120.1 kB / 0.7494 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.6338, allocations: 3.391 kB / 0.7495 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006399/0.6344, allocations: 61.17 kB / 0.7495 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/0.6345, allocations: 23.41 kB / 0.7495 GB, free: 107.1 MB / 0.5105 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.000132/0.6346, allocations: 118.7 kB / 0.7496 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.493e-05/0.6347, allocations: 10.73 kB / 0.7497 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.155e-05/0.6348, allocations: 14.53 kB / 0.7497 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.6348, allocations: 0 / 0.7497 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6348, allocations: 0.5 kB / 0.7497 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.6348, allocations: 0.75 kB / 0.7497 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/0.6368, allocations: 1.106 MB / 0.7508 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.6369, allocations: 0.9844 kB / 0.7508 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008458/0.6377, allocations: 117.5 kB / 0.7509 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.6377, allocations: 0 / 0.7509 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/0.6378, allocations: 26.47 kB / 0.7509 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.6378, allocations: 1.312 kB / 0.7509 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.6378, allocations: 3.734 kB / 0.7509 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/0.64, allocations: 0.865 MB / 0.7517 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.6402, allocations: 122.6 kB / 0.7519 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.877e-05/0.6402, allocations: 4.062 kB / 0.7519 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007263/0.641, allocations: 63.34 kB / 0.7519 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.81e-05/0.6411, allocations: 26.09 kB / 0.7519 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.53e-05/0.6411, allocations: 24.31 kB / 0.752 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.975e-05/0.6412, allocations: 86.39 kB / 0.7521 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6412, allocations: 0 / 0.7521 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004067/0.6416, allocations: 50.25 kB / 0.7521 GB, free: 106.1 MB / 0.5105 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.002512/0.6441, allocations: 1.429 MB / 0.7535 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001428/0.6455, allocations: 477.3 kB / 0.754 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6456, allocations: 0 / 0.754 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007129/0.6463, allocations: 251.2 kB / 0.7542 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.6465, allocations: 14 kB / 0.7542 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006678/0.6532, allocations: 1.856 MB / 0.756 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.6534, allocations: 0.6913 MB / 0.7567 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006514/0.654, allocations: 100.1 kB / 0.7568 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/0.6543, allocations: 67.19 kB / 0.7569 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of SimCode: time 8.01e-07/0.6543, allocations: 0 / 0.7569 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.6724, allocations: 4.167 MB / 0.7609 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.6726, allocations: 218.7 kB / 0.7611 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.264, allocations: 0 / 0.7611 GB, free: 102.5 MB / 0.5105 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)