Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.001056/0.001056, allocations: 101.5 kB / 16.4 MB, free: 6.496 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.001155/0.001155, allocations: 193.2 kB / 17.34 MB, free: 5.77 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7702/0.7702, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 65.84 kB / 0.5572 GB, free: 32.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1851, allocations: 76.18 MB / 0.6316 GB, free: 4.875 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00186/0.187, allocations: 0.5922 MB / 0.6322 GB, free: 4.285 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.189, allocations: 1.451 MB / 0.6336 GB, free: 2.816 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.903e-05/0.1891, allocations: 0 / 0.6336 GB, free: 2.816 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.05e-05/0.1892, allocations: 0 / 0.6336 GB, free: 2.816 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.934e-05/0.1892, allocations: 7.938 kB / 0.6336 GB, free: 2.809 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006679/0.1899, allocations: 139.4 kB / 0.6338 GB, free: 2.672 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.504e-05/0.19, allocations: 23.98 kB / 0.6338 GB, free: 2.648 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.19, allocations: 0 / 0.6338 GB, free: 2.648 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.715e-05/0.1901, allocations: 27.92 kB / 0.6338 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.139e-05/0.1902, allocations: 27.94 kB / 0.6338 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1902, allocations: 0 / 0.6338 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005032/0.1907, allocations: 315.4 kB / 0.6341 GB, free: 2.285 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.1907, allocations: 11.91 kB / 0.6342 GB, free: 2.273 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.1908, allocations: 11.98 kB / 0.6342 GB, free: 2.262 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.1911, allocations: 187.6 kB / 0.6343 GB, free: 2.078 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1911, allocations: 0 / 0.6343 GB, free: 2.078 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1911, allocations: 0 / 0.6343 GB, free: 2.078 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1911, allocations: 0 / 0.6343 GB, free: 2.078 MB / 478.1 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.0005162/0.1916, allocations: 370.3 kB / 0.6347 GB, free: 1.672 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1917, allocations: 12.03 kB / 0.6347 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.1917, allocations: 30.75 kB / 0.6347 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004638/0.1922, allocations: 68.84 kB / 0.6348 GB, free: 1.555 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.1923, allocations: 168.3 kB / 0.635 GB, free: 1.352 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.1924, allocations: 384 / 0.635 GB, free: 1.352 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.1924, allocations: 4.375 kB / 0.635 GB, free: 1.348 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.1926, allocations: 81.75 kB / 0.635 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1927, allocations: 3.984 kB / 0.635 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1927, allocations: 0 / 0.635 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1927, allocations: 0 / 0.635 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.193, allocations: 63.94 kB / 0.6351 GB, free: 1.195 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.1932, allocations: 169.6 kB / 0.6353 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005699/0.1938, allocations: 122.5 kB / 0.6354 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.1939, allocations: 44.92 kB / 0.6354 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004451/0.1944, allocations: 153 kB / 0.6356 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.1944, allocations: 38.48 kB / 0.6356 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 2.625e-06/0.1944, allocations: 4 kB / 0.6356 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.001143/0.1956, allocations: 407 kB / 0.636 GB, free: 140 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.1956, allocations: 55.41 kB / 0.6361 GB, free: 72 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.324e-05/0.1957, allocations: 89.86 kB / 0.6361 GB, free: 15.97 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.1957, allocations: 25.7 kB / 0.6362 GB, free: 15.94 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.654e-05/0.1958, allocations: 80.14 kB / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.1958, allocations: 23.73 kB / 0.6363 GB, free: 15.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-05/0.1959, allocations: 17.84 kB / 0.6363 GB, free: 15.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.196, allocations: 318.8 kB / 0.6366 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.1962, allocations: 35.95 kB / 0.6366 GB, free: 15.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.1963, allocations: 39.97 kB / 0.6367 GB, free: 15.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.1966, allocations: 76.92 kB / 0.6367 GB, free: 15.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1966, allocations: 4 kB / 0.6367 GB, free: 15.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003697/0.197, allocations: 117.5 kB / 0.6369 GB, free: 15.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.197, allocations: 8 kB / 0.6369 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1971, allocations: 4 kB / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1971, allocations: 0 / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.1972, allocations: 19.98 kB / 0.6369 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.1972, allocations: 0 / 0.6369 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.74e-05/0.1973, allocations: 11.98 kB / 0.6369 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.1974, allocations: 7.984 kB / 0.6369 GB, free: 15.16 MB / 494.1 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.124e-05/0.1975, allocations: 118.4 kB / 0.637 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.1975, allocations: 3.938 kB / 0.637 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004507/0.1979, allocations: 129.2 kB / 0.6371 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1979, allocations: 4 kB / 0.6371 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.198, allocations: 4 kB / 0.6371 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.198, allocations: 0 / 0.6371 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.1981, allocations: 165.7 kB / 0.6373 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.1981, allocations: 7.875 kB / 0.6373 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.1983, allocations: 19.98 kB / 0.6373 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.1983, allocations: 4 kB / 0.6373 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1983, allocations: 0 / 0.6373 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.1983, allocations: 7.922 kB / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1983, allocations: 4 kB / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005451/0.1989, allocations: 188.9 kB / 0.6375 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.615e-05/0.199, allocations: 85.03 kB / 0.6376 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.199, allocations: 8.156 kB / 0.6376 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.1991, allocations: 19.98 kB / 0.6376 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.1991, allocations: 8.375 kB / 0.6376 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.1992, allocations: 4 kB / 0.6376 GB, free: 14.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.905e-05/0.1992, allocations: 75.28 kB / 0.6377 GB, free: 14.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1992, allocations: 0 / 0.6377 GB, free: 14.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000244/0.1995, allocations: 35.98 kB / 0.6378 GB, free: 14.18 MB / 494.1 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 () * 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 (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.0008856/0.2003, allocations: 0.7413 MB / 0.6385 GB, free: 13.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003578/0.2007, allocations: 87.98 kB / 0.6386 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2007, allocations: 0 / 0.6386 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.2009, allocations: 43.91 kB / 0.6386 GB, free: 13.28 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.2011, allocations: 11.92 kB / 0.6386 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.203, allocations: 1.364 MB / 0.6399 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.2033, allocations: 0.6846 MB / 0.6406 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.314e-05/0.2034, allocations: 12 kB / 0.6406 GB, free: 11.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.656e-05/0.2034, allocations: 19.42 kB / 0.6406 GB, free: 11.08 MB / 494.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2034, allocations: 0 / 0.6406 GB, free: 11.08 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.2238, allocations: 2.072 MB / 0.6427 GB, free: 9.121 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/7.82, allocations: 7.625 kB / 0.6427 GB, free: 9.117 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)