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.001569/0.001569, allocations: 107.3 kB / 16.4 MB, free: 6.508 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.001906/0.001906, allocations: 193.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.661/2.661, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.167/1.167, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 70.91 kB / 0.5572 GB, free: 32.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2349, allocations: 76.18 MB / 0.6316 GB, free: 4.855 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.003397/0.2383, allocations: 0.5905 MB / 0.6322 GB, free: 4.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003815/0.2422, allocations: 1.454 MB / 0.6336 GB, free: 2.797 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.2422, allocations: 0 / 0.6336 GB, free: 2.797 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.2424, allocations: 0 / 0.6336 GB, free: 2.797 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.079e-05/0.2424, allocations: 3.938 kB / 0.6336 GB, free: 2.793 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009857/0.2434, allocations: 139.5 kB / 0.6338 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.2436, allocations: 31.95 kB / 0.6338 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.485e-05/0.2436, allocations: 3.984 kB / 0.6338 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.578e-05/0.2437, allocations: 23.92 kB / 0.6338 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.2439, allocations: 19.97 kB / 0.6338 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.2439, allocations: 0 / 0.6338 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.245, allocations: 319.3 kB / 0.6342 GB, free: 2.266 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.245, allocations: 11.98 kB / 0.6342 GB, free: 2.254 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.2451, allocations: 11.94 kB / 0.6342 GB, free: 2.242 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005234/0.2456, allocations: 183.6 kB / 0.6343 GB, free: 2.062 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.325e-05/0.2456, allocations: 4 kB / 0.6344 GB, free: 2.059 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.2456, allocations: 0 / 0.6344 GB, free: 2.059 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.555e-06/0.2457, allocations: 0 / 0.6344 GB, free: 2.059 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.0009036/0.2466, allocations: 366.3 kB / 0.6347 GB, free: 1.656 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.831e-05/0.2466, allocations: 12.03 kB / 0.6347 GB, free: 1.645 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.565e-05/0.2467, allocations: 30.75 kB / 0.6347 GB, free: 1.605 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008293/0.2476, allocations: 72.84 kB / 0.6348 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.2478, allocations: 164.3 kB / 0.635 GB, free: 1.336 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.2478, allocations: 384 / 0.635 GB, free: 1.336 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.2479, allocations: 8.375 kB / 0.635 GB, free: 1.328 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.2483, allocations: 77.75 kB / 0.6351 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.2483, allocations: 0 / 0.6351 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.2484, allocations: 4 kB / 0.6351 GB, free: 1.242 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2484, allocations: 0 / 0.6351 GB, free: 1.242 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005656/0.249, allocations: 63.92 kB / 0.6351 GB, free: 1.18 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.2493, allocations: 161.7 kB / 0.6353 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009432/0.2502, allocations: 126.5 kB / 0.6354 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.2505, allocations: 52.84 kB / 0.6354 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007036/0.2513, allocations: 153 kB / 0.6356 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.2513, allocations: 34.5 kB / 0.6356 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 2.014e-06/0.2513, allocations: 0 / 0.6356 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.001976/0.2533, allocations: 403 kB / 0.636 GB, free: 132 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.2534, allocations: 51.41 kB / 0.6361 GB, free: 68 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.2536, allocations: 105.8 kB / 0.6362 GB, free: 15.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.2536, allocations: 25.7 kB / 0.6362 GB, free: 15.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.2537, allocations: 84.12 kB / 0.6363 GB, free: 15.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.098e-05/0.2537, allocations: 19.75 kB / 0.6363 GB, free: 15.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.592e-05/0.2538, allocations: 17.72 kB / 0.6363 GB, free: 15.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.254, allocations: 318.8 kB / 0.6366 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.2543, allocations: 36.09 kB / 0.6366 GB, free: 15.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/0.2546, allocations: 39.91 kB / 0.6367 GB, free: 15.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005772/0.2552, allocations: 76.98 kB / 0.6367 GB, free: 15.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2552, allocations: 0 / 0.6367 GB, free: 15.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007041/0.2559, allocations: 121.5 kB / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.256, allocations: 4 kB / 0.6369 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.256, allocations: 4 kB / 0.6369 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.256, allocations: 0 / 0.6369 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.2564, allocations: 27.97 kB / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.2564, allocations: 0 / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.2567, allocations: 11.98 kB / 0.6369 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.2567, allocations: 0 / 0.6369 GB, free: 15.15 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 0.0001685/0.2569, allocations: 117.8 kB / 0.637 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.257, allocations: 3.938 kB / 0.637 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007977/0.2578, allocations: 133.2 kB / 0.6372 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.2578, allocations: 4 kB / 0.6372 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.2578, allocations: 336 / 0.6372 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.2579, allocations: 0 / 0.6372 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.2581, allocations: 165.7 kB / 0.6373 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.2582, allocations: 3.938 kB / 0.6373 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.2585, allocations: 27.97 kB / 0.6373 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.361e-05/0.2585, allocations: 7.922 kB / 0.6374 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.2585, allocations: 7.938 kB / 0.6374 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.2586, allocations: 0 / 0.6374 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2586, allocations: 0 / 0.6374 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.2596, allocations: 193.1 kB / 0.6375 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.2597, allocations: 85.03 kB / 0.6376 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.2598, allocations: 7.969 kB / 0.6376 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.26, allocations: 15.97 kB / 0.6376 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.26, allocations: 0 / 0.6376 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.26, allocations: 4 kB / 0.6376 GB, free: 14.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.087e-05/0.2601, allocations: 79.34 kB / 0.6377 GB, free: 14.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2601, allocations: 4.094 kB / 0.6377 GB, free: 14.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003708/0.2605, allocations: 35.98 kB / 0.6378 GB, free: 14.16 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.001388/0.2619, allocations: 0.7451 MB / 0.6385 GB, free: 13.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005281/0.2624, allocations: 80 kB / 0.6386 GB, free: 13.31 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.2625, allocations: 0 / 0.6386 GB, free: 13.31 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.2627, allocations: 55.89 kB / 0.6386 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.263, allocations: 4 kB / 0.6386 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.2658, allocations: 1.36 MB / 0.64 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.2663, allocations: 0.6807 MB / 0.6406 GB, free: 11.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000128/0.2664, allocations: 12 kB / 0.6406 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.369e-05/0.2665, allocations: 15.44 kB / 0.6406 GB, free: 11.07 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2665, allocations: 0 / 0.6406 GB, free: 11.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3397/0.6063, allocations: 2.082 MB / 0.6427 GB, free: 9.105 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.62, allocations: 3.984 kB / 0.6427 GB, free: 9.102 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)