Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/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.InverseXDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IBPSA_latest_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.001107/0.001107, allocations: 104.1 kB / 16.4 MB, free: 6.492 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.001197/0.001197, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7423/0.7423, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.72 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1737, allocations: 76.18 MB / 0.6316 GB, free: 4.867 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002156/0.1759, allocations: 0.7717 MB / 0.6324 GB, free: 4.098 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.1779, allocations: 1.478 MB / 0.6338 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.1779, allocations: 4 kB / 0.6338 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.1e-05/0.178, allocations: 3.938 kB / 0.6338 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.54e-05/0.178, allocations: 0 / 0.6338 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005321/0.1786, allocations: 139.4 kB / 0.634 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.403e-05/0.1787, allocations: 51.91 kB / 0.634 GB, free: 2.406 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/0.1787, allocations: 11.97 kB / 0.634 GB, free: 2.395 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.399e-05/0.1788, allocations: 27.91 kB / 0.6341 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.985e-05/0.1789, allocations: 31.84 kB / 0.6341 GB, free: 2.336 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1789, allocations: 8 kB / 0.6341 GB, free: 2.328 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004625/0.1794, allocations: 319.3 kB / 0.6344 GB, free: 2.016 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.1794, allocations: 11.98 kB / 0.6344 GB, free: 2.004 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.1795, allocations: 27.84 kB / 0.6344 GB, free: 1.977 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.1798, allocations: 210.4 kB / 0.6346 GB, free: 1.773 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1798, allocations: 0 / 0.6346 GB, free: 1.773 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1798, allocations: 4 kB / 0.6346 GB, free: 1.77 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.1798, allocations: 3.938 kB / 0.6347 GB, free: 1.766 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007131/0.1805, allocations: 404.2 kB / 0.635 GB, free: 1.324 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1806, allocations: 12.03 kB / 0.635 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.1806, allocations: 38.73 kB / 0.6351 GB, free: 1.266 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004331/0.1811, allocations: 68.77 kB / 0.6352 GB, free: 1.199 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.1812, allocations: 168.4 kB / 0.6353 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.1813, allocations: 4.375 kB / 0.6353 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.1813, allocations: 8.375 kB / 0.6353 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.1817, allocations: 112.2 kB / 0.6354 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1817, allocations: 0 / 0.6354 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.1817, allocations: 4 kB / 0.6354 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1817, allocations: 7.938 kB / 0.6354 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004377/0.1822, allocations: 99.89 kB / 0.6355 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006082/0.1828, allocations: 348.4 kB / 0.6359 GB, free: 380 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005858/0.1834, allocations: 154.4 kB / 0.636 GB, free: 216 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.1836, allocations: 56.81 kB / 0.6361 GB, free: 156 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.1837, allocations: 0 / 0.6361 GB, free: 156 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.1837, allocations: 38.55 kB / 0.6361 GB, free: 108 kB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1837, allocations: 0 / 0.6361 GB, free: 108 kB / 478.1 MB 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.01868/0.2024, allocations: 2.835 MB / 0.6389 GB, free: 13.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.2024, allocations: 55.34 kB / 0.6389 GB, free: 13.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.285e-05/0.2025, allocations: 97.86 kB / 0.639 GB, free: 13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.079e-05/0.2026, allocations: 29.7 kB / 0.6391 GB, free: 12.97 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.2027, allocations: 99.97 kB / 0.6391 GB, free: 12.87 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.427e-05/0.2027, allocations: 39.39 kB / 0.6392 GB, free: 12.83 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.2029, allocations: 69.58 kB / 0.6393 GB, free: 12.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.203, allocations: 310.8 kB / 0.6395 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006711/0.2037, allocations: 195.8 kB / 0.6397 GB, free: 12.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000666/0.2044, allocations: 191.8 kB / 0.6399 GB, free: 12.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.2057, allocations: 388.5 kB / 0.6403 GB, free: 11.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.2058, allocations: 4 kB / 0.6403 GB, free: 11.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001524/0.2073, allocations: 484.1 kB / 0.6408 GB, free: 11.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.2073, allocations: 8 kB / 0.6408 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.2073, allocations: 0 / 0.6408 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.2074, allocations: 0 / 0.6408 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009101/0.2083, allocations: 111.7 kB / 0.6409 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.2083, allocations: 4.062 kB / 0.6409 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006288/0.2089, allocations: 48.03 kB / 0.6409 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/0.209, allocations: 27.88 kB / 0.6409 GB, free: 11 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 (13): * Single equations (assignments): 13 * 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 0.0001657/0.2092, allocations: 118.5 kB / 0.6411 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/0.2093, allocations: 7.906 kB / 0.6411 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.255e-05/0.2093, allocations: 7.969 kB / 0.6411 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2094, allocations: 7.938 kB / 0.6411 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2094, allocations: 0 / 0.6411 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2094, allocations: 0 / 0.6411 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.2116, allocations: 1.051 MB / 0.6421 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2116, allocations: 0 / 0.6421 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009377/0.2126, allocations: 115.7 kB / 0.6422 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.2126, allocations: 0 / 0.6422 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.308e-05/0.2127, allocations: 19.94 kB / 0.6422 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2127, allocations: 0 / 0.6422 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2127, allocations: 0 / 0.6422 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/0.215, allocations: 0.8033 MB / 0.643 GB, free: 8.734 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.2151, allocations: 120.9 kB / 0.6431 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.28e-05/0.2152, allocations: 0 / 0.6431 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007206/0.2159, allocations: 51.98 kB / 0.6432 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.669e-05/0.216, allocations: 23.94 kB / 0.6432 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.754e-05/0.2161, allocations: 27.92 kB / 0.6432 GB, free: 8.496 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.659e-05/0.2162, allocations: 79.28 kB / 0.6433 GB, free: 8.418 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2162, allocations: 0 / 0.6433 GB, free: 8.418 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004476/0.2166, allocations: 52 kB / 0.6434 GB, free: 8.367 MB / 494.1 MB 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 (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.002816/0.2194, allocations: 1.341 MB / 0.6447 GB, free: 7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.221, allocations: 431.5 kB / 0.6451 GB, free: 6.578 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.221, allocations: 4 kB / 0.6451 GB, free: 6.574 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007119/0.2217, allocations: 215.7 kB / 0.6453 GB, free: 6.363 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/0.2222, allocations: 14.66 kB / 0.6453 GB, free: 6.352 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008669/0.2309, allocations: 2.935 MB / 0.6482 GB, free: 3.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.2312, allocations: 0.6929 MB / 0.6488 GB, free: 2.621 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004813/0.2317, allocations: 89.09 kB / 0.6489 GB, free: 2.535 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.2319, allocations: 71.23 kB / 0.649 GB, free: 2.465 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2319, allocations: 0 / 0.649 GB, free: 2.465 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.2548, allocations: 4.673 MB / 0.6536 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/7.928, allocations: 21.44 kB / 0.6536 GB, free: 13.9 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)