Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.7307/0.7307, allocations: 128.7 MB / 143.7 MB, free: 2.203 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.001106/0.001107, allocations: 184.2 kB / 173.7 MB, free: 6.023 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.557/1.557, allocations: 205.4 MB / 409 MB, free: 10.5 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.0008409/0.0008409, allocations: 91.53 kB / 486.5 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004687, allocations: 16.22 kB / 0.5604 GB, free: 97.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1594, allocations: 76.77 MB / 0.6354 GB, free: 30.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1359/0.2954, allocations: 103.5 MB / 0.7365 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.2957, allocations: 83.95 kB / 0.7365 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01313/0.3088, allocations: 4.317 MB / 0.7408 GB, free: 2.418 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3089, allocations: 0 / 0.7408 GB, free: 2.418 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.3089, allocations: 0 / 0.7408 GB, free: 2.418 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005147/0.3094, allocations: 371.2 kB / 0.7411 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.3095, allocations: 12.03 kB / 0.7411 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/0.3096, allocations: 30.56 kB / 0.7411 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003758/0.3099, allocations: 71.78 kB / 0.7412 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.3101, allocations: 163.1 kB / 0.7414 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.3101, allocations: 0 / 0.7414 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.3101, allocations: 0 / 0.7414 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.3104, allocations: 93.56 kB / 0.7415 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3104, allocations: 0 / 0.7415 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.3104, allocations: 3.984 kB / 0.7415 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3105, allocations: 0 / 0.7415 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.3108, allocations: 79.89 kB / 0.7415 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.311, allocations: 161.7 kB / 0.7417 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006024/0.3116, allocations: 138.6 kB / 0.7418 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.673e-05/0.3117, allocations: 8 kB / 0.7418 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.3117, allocations: 42.5 kB / 0.7419 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3117, allocations: 3.938 kB / 0.7419 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.001251/0.313, allocations: 434.2 kB / 0.7423 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.313, allocations: 51.41 kB / 0.7423 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.611e-05/0.3131, allocations: 89 kB / 0.7424 GB, free: 472 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.3132, allocations: 25.7 kB / 0.7425 GB, free: 440 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.3132, allocations: 88.25 kB / 0.7425 GB, free: 348 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.3133, allocations: 23.73 kB / 0.7426 GB, free: 324 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/0.3133, allocations: 0 / 0.7426 GB, free: 324 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.2793/0.5925, allocations: 319 kB / 0.7429 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.5928, allocations: 35.81 kB / 0.7429 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.593, allocations: 44.73 kB / 0.7429 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.5931, allocations: 43.56 kB / 0.743 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5932, allocations: 0 / 0.743 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000382/0.5935, allocations: 130 kB / 0.7431 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.5936, allocations: 5.469 kB / 0.7431 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5936, allocations: 0 / 0.7431 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.5936, allocations: 0.75 kB / 0.7431 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.5938, allocations: 27.66 kB / 0.7431 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.5938, allocations: 0 / 0.7431 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.5939, allocations: 19.25 kB / 0.7432 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.5939, allocations: 7.031 kB / 0.7432 GB, free: 108.8 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 (6): * Single equations (assignments): 6 * 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 7.544e-05/0.594, allocations: 114.8 kB / 0.7433 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.594, allocations: 3.875 kB / 0.7433 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004547/0.5945, allocations: 150.6 kB / 0.7434 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.5945, allocations: 0 / 0.7434 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.5945, allocations: 1.25 kB / 0.7434 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5945, allocations: 2.703 kB / 0.7434 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.5946, allocations: 168.3 kB / 0.7436 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5947, allocations: 0 / 0.7436 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.5948, allocations: 31.8 kB / 0.7436 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5948, allocations: 1 kB / 0.7436 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.5948, allocations: 1.062 kB / 0.7436 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5948, allocations: 1.25 kB / 0.7436 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.5949, allocations: 3.531 kB / 0.7436 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000522/0.5954, allocations: 212.1 kB / 0.7438 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.216e-05/0.5955, allocations: 86.67 kB / 0.7439 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.5955, allocations: 0.5938 kB / 0.7439 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.5956, allocations: 18.14 kB / 0.7439 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.5956, allocations: 7.688 kB / 0.7439 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.5956, allocations: 3.453 kB / 0.7439 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.04e-05/0.5957, allocations: 79.88 kB / 0.744 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5957, allocations: 0 / 0.744 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002621/0.5959, allocations: 37.86 kB / 0.744 GB, free: 108.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0007816/0.5967, allocations: 0.7878 MB / 0.7448 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003449/0.5971, allocations: 98.42 kB / 0.7449 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5971, allocations: 6.578 kB / 0.7449 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.5973, allocations: 53.69 kB / 0.745 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001035/0.5974, allocations: 2.312 kB / 0.745 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.5985, allocations: 0.5712 MB / 0.7455 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.691e-05/0.5987, allocations: 0.684 MB / 0.7462 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000107/0.5988, allocations: 17.59 kB / 0.7462 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.5988, allocations: 16.38 kB / 0.7462 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.11e-07/0.5988, allocations: 5.688 kB / 0.7462 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01298/0.6118, allocations: 1.821 MB / 0.748 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/0.612, allocations: 210.1 kB / 0.7482 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/2.108, allocations: 0 / 0.7482 GB, free: 106.2 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)