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.7985/0.7985, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001225/0.001225, allocations: 184.8 kB / 169.7 MB, free: 1.746 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.917/1.917, allocations: 205.1 MB / 404.5 MB, free: 1.672 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.0009433/0.0009435, allocations: 90.22 kB / 481.8 MB, free: 4.312 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.764e-05/4.774e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2027, allocations: 76.77 MB / 0.6283 GB, free: 9.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7061/0.9089, allocations: 103.4 MB / 0.7292 GB, free: 10 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.9092, allocations: 81 kB / 0.7293 GB, free: 9.953 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01319/0.9224, allocations: 4.275 MB / 0.7335 GB, free: 6.289 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.438e-06/0.9224, allocations: 0 / 0.7335 GB, free: 6.289 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.9224, allocations: 3.938 kB / 0.7335 GB, free: 6.285 MB / 490.7 MB 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.0005223/0.923, allocations: 377.8 kB / 0.7338 GB, free: 5.875 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.923, allocations: 8.031 kB / 0.7338 GB, free: 5.867 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.312e-05/0.9231, allocations: 38.06 kB / 0.7339 GB, free: 5.824 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004074/0.9235, allocations: 67.88 kB / 0.734 GB, free: 5.758 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.9237, allocations: 159.1 kB / 0.7341 GB, free: 5.562 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.9237, allocations: 3.984 kB / 0.7341 GB, free: 5.559 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.9237, allocations: 4 kB / 0.7341 GB, free: 5.555 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.9239, allocations: 56.22 kB / 0.7342 GB, free: 5.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.9239, allocations: 0 / 0.7342 GB, free: 5.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.924, allocations: 4 kB / 0.7342 GB, free: 5.496 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.924, allocations: 0 / 0.7342 GB, free: 5.496 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.616e-05/0.924, allocations: 22.58 kB / 0.7342 GB, free: 5.477 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002322/0.9243, allocations: 164.6 kB / 0.7343 GB, free: 5.273 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.9246, allocations: 56.55 kB / 0.7344 GB, free: 5.219 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.419e-05/0.9246, allocations: 20.36 kB / 0.7344 GB, free: 5.199 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.023e-05/0.9247, allocations: 7.984 kB / 0.7344 GB, free: 5.191 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.9247, allocations: 38.64 kB / 0.7345 GB, free: 5.145 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.9247, allocations: 0 / 0.7345 GB, free: 5.145 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006578/0.9254, allocations: 284.9 kB / 0.7347 GB, free: 4.832 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.9255, allocations: 51.41 kB / 0.7348 GB, free: 4.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.588e-05/0.9255, allocations: 96.52 kB / 0.7349 GB, free: 4.672 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.9256, allocations: 29.83 kB / 0.7349 GB, free: 4.637 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.9256, allocations: 84.08 kB / 0.735 GB, free: 4.551 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.9257, allocations: 18.84 kB / 0.735 GB, free: 4.535 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.9257, allocations: 0 / 0.735 GB, free: 4.535 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.9258, allocations: 314.8 kB / 0.7353 GB, free: 4.219 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.982e-05/0.9259, allocations: 15.94 kB / 0.7353 GB, free: 4.207 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.23e-05/0.9259, allocations: 11.38 kB / 0.7353 GB, free: 4.199 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.966e-05/0.926, allocations: 11.75 kB / 0.7353 GB, free: 4.191 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.926, allocations: 0 / 0.7353 GB, free: 4.191 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001415/0.9261, allocations: 76.88 kB / 0.7354 GB, free: 4.121 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.9262, allocations: 11.98 kB / 0.7354 GB, free: 4.109 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.9262, allocations: 0 / 0.7354 GB, free: 4.109 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.9262, allocations: 0 / 0.7354 GB, free: 4.109 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.9264, allocations: 23.98 kB / 0.7354 GB, free: 4.086 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.9264, allocations: 3.938 kB / 0.7355 GB, free: 4.082 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.9265, allocations: 19.98 kB / 0.7355 GB, free: 4.062 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.9265, allocations: 3.953 kB / 0.7355 GB, free: 4.059 MB / 490.7 MB 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 () * 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 9.177e-05/0.9266, allocations: 112.8 kB / 0.7356 GB, free: 3.945 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.9266, allocations: 4 kB / 0.7356 GB, free: 3.941 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.9269, allocations: 86.66 kB / 0.7357 GB, free: 3.867 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.9269, allocations: 0 / 0.7357 GB, free: 3.867 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.9269, allocations: 0 / 0.7357 GB, free: 3.867 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.9269, allocations: 0 / 0.7357 GB, free: 3.867 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.9271, allocations: 168.5 kB / 0.7358 GB, free: 3.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.9271, allocations: 0 / 0.7358 GB, free: 3.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.9273, allocations: 31.92 kB / 0.7359 GB, free: 3.629 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.9273, allocations: 0 / 0.7359 GB, free: 3.629 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.9273, allocations: 7.984 kB / 0.7359 GB, free: 3.621 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9273, allocations: 0 / 0.7359 GB, free: 3.621 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.9273, allocations: 192 / 0.7359 GB, free: 3.621 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.9275, allocations: 120.2 kB / 0.736 GB, free: 3.508 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.9277, allocations: 89.17 kB / 0.7361 GB, free: 3.402 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.9277, allocations: 4 kB / 0.7361 GB, free: 3.398 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.9278, allocations: 19.97 kB / 0.7361 GB, free: 3.379 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.9279, allocations: 4 kB / 0.7361 GB, free: 3.375 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.9279, allocations: 3.688 kB / 0.7361 GB, free: 3.375 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.016e-05/0.9279, allocations: 79.28 kB / 0.7362 GB, free: 3.297 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.9279, allocations: 4.094 kB / 0.7362 GB, free: 3.293 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002201/0.9281, allocations: 39.86 kB / 0.7362 GB, free: 3.254 MB / 490.7 MB 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 () * 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.0007171/0.9289, allocations: 0.7051 MB / 0.7369 GB, free: 2.543 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.929, allocations: 42.12 kB / 0.7369 GB, free: 2.512 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.929, allocations: 0 / 0.7369 GB, free: 2.512 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.265e-05/0.9291, allocations: 27.55 kB / 0.737 GB, free: 2.488 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.9293, allocations: 1.688 kB / 0.737 GB, free: 2.488 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000675/0.9299, allocations: 187.5 kB / 0.7372 GB, free: 2.281 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.9303, allocations: 0.6848 MB / 0.7378 GB, free: 1.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.9305, allocations: 19.94 kB / 0.7378 GB, free: 1.551 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.9306, allocations: 18.8 kB / 0.7379 GB, free: 1.535 MB / 490.7 MB Notification: Performance of SimCode: time 3.01e-07/0.9306, allocations: 0 / 0.7379 GB, free: 1.535 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.9489, allocations: 1.824 MB / 0.7396 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/0.9492, allocations: 184.3 kB / 0.7398 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.572, allocations: 0 / 0.7398 GB, free: 15.61 MB / 0.4948 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)