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.001594/0.001594, allocations: 95.33 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002995/0.002996, allocations: 175.8 kB / 16.57 MB, free: 6.852 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.083/2.083, allocations: 223.2 MB / 240.5 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.084/1.084, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006664/0.0006665, allocations: 12 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2508, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001037/0.2519, allocations: 323.1 kB / 0.557 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.2544, allocations: 1.391 MB / 0.5584 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.2545, allocations: 0 / 0.5584 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.17e-05/0.2545, allocations: 0 / 0.5584 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.561e-05/0.2545, allocations: 0 / 0.5584 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.255, allocations: 107.6 kB / 0.5585 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.913e-05/0.2551, allocations: 31.95 kB / 0.5585 GB, free: 9.848 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.727e-05/0.2551, allocations: 4 kB / 0.5585 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.133e-05/0.2552, allocations: 11.98 kB / 0.5585 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.2553, allocations: 27.89 kB / 0.5586 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.2554, allocations: 4 kB / 0.5586 GB, free: 9.801 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006761/0.2561, allocations: 303.5 kB / 0.5589 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.2561, allocations: 11.98 kB / 0.5589 GB, free: 9.492 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.2561, allocations: 29.64 kB / 0.5589 GB, free: 9.457 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.2565, allocations: 131.9 kB / 0.559 GB, free: 9.328 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2565, allocations: 0 / 0.559 GB, free: 9.328 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2565, allocations: 0 / 0.559 GB, free: 9.328 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.2565, allocations: 4 kB / 0.559 GB, free: 9.324 MB / 430.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.0006562/0.2572, allocations: 363.5 kB / 0.5594 GB, free: 8.922 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.2572, allocations: 12.03 kB / 0.5594 GB, free: 8.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.48e-05/0.2573, allocations: 30.56 kB / 0.5594 GB, free: 8.871 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006993/0.258, allocations: 87.81 kB / 0.5595 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.2582, allocations: 167.1 kB / 0.5597 GB, free: 8.582 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.2582, allocations: 0 / 0.5597 GB, free: 8.582 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.2583, allocations: 4 kB / 0.5597 GB, free: 8.578 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.2586, allocations: 85.58 kB / 0.5597 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2587, allocations: 4 kB / 0.5597 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.2587, allocations: 0 / 0.5597 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.2587, allocations: 0 / 0.5597 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/0.2592, allocations: 83.86 kB / 0.5598 GB, free: 8.402 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.2594, allocations: 157.7 kB / 0.56 GB, free: 8.199 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008544/0.2603, allocations: 142.6 kB / 0.5601 GB, free: 8.051 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006974/0.261, allocations: 177.1 kB / 0.5603 GB, free: 7.859 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.2611, allocations: 34.56 kB / 0.5603 GB, free: 7.816 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.2611, allocations: 0 / 0.5603 GB, free: 7.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.001711/0.2628, allocations: 442.1 kB / 0.5607 GB, free: 7.332 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.2629, allocations: 63.34 kB / 0.5608 GB, free: 7.258 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.299e-05/0.263, allocations: 89.86 kB / 0.5609 GB, free: 7.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.263, allocations: 29.7 kB / 0.5609 GB, free: 7.125 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.263, allocations: 80.14 kB / 0.561 GB, free: 7.043 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.2631, allocations: 15.75 kB / 0.561 GB, free: 7.027 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.2631, allocations: 4 kB / 0.561 GB, free: 7.023 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2633, allocations: 318.8 kB / 0.5613 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.2635, allocations: 44.09 kB / 0.5614 GB, free: 6.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.2638, allocations: 43.97 kB / 0.5614 GB, free: 6.617 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.2641, allocations: 39.97 kB / 0.5614 GB, free: 6.578 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2641, allocations: 0 / 0.5614 GB, free: 6.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006152/0.2647, allocations: 133.6 kB / 0.5616 GB, free: 6.441 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.2647, allocations: 4 kB / 0.5616 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2648, allocations: 0 / 0.5616 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2648, allocations: 3.953 kB / 0.5616 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.265, allocations: 31.91 kB / 0.5616 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2651, allocations: 0 / 0.5616 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.2652, allocations: 19.98 kB / 0.5616 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.2653, allocations: 0 / 0.5616 GB, free: 6.383 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.2654, allocations: 113.8 kB / 0.5617 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.2654, allocations: 3.906 kB / 0.5617 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007172/0.2662, allocations: 145.2 kB / 0.5619 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.2662, allocations: 8.266 kB / 0.5619 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2662, allocations: 0 / 0.5619 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2662, allocations: 0 / 0.5619 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.2664, allocations: 173.7 kB / 0.562 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.2664, allocations: 0 / 0.562 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.2667, allocations: 31.91 kB / 0.5621 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.2668, allocations: 0 / 0.5621 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.2668, allocations: 4 kB / 0.5621 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2668, allocations: 0 / 0.5621 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.2668, allocations: 3.953 kB / 0.5621 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.2678, allocations: 197 kB / 0.5623 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.2679, allocations: 89.03 kB / 0.5624 GB, free: 5.523 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.268, allocations: 8.062 kB / 0.5624 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.2681, allocations: 19.97 kB / 0.5624 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.2682, allocations: 3.953 kB / 0.5624 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.2682, allocations: 4 kB / 0.5624 GB, free: 5.488 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.273e-05/0.2682, allocations: 79.28 kB / 0.5625 GB, free: 5.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.362e-06/0.2682, allocations: 0 / 0.5625 GB, free: 5.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.2685, allocations: 36.02 kB / 0.5625 GB, free: 5.375 MB / 430.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 (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.0009745/0.2695, allocations: 0.7693 MB / 0.5632 GB, free: 4.574 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003891/0.2699, allocations: 99.86 kB / 0.5633 GB, free: 4.477 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2699, allocations: 3.938 kB / 0.5633 GB, free: 4.473 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.2701, allocations: 55.95 kB / 0.5634 GB, free: 4.418 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.2702, allocations: 6.031 kB / 0.5634 GB, free: 4.414 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.2717, allocations: 0.5611 MB / 0.564 GB, free: 3.809 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.272, allocations: 0.6926 MB / 0.5646 GB, free: 3.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.2721, allocations: 16 kB / 0.5646 GB, free: 3.074 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/0.2722, allocations: 11.44 kB / 0.5647 GB, free: 3.062 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2722, allocations: 0 / 0.5647 GB, free: 3.062 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2269/0.4991, allocations: 1.798 MB / 0.5664 GB, free: 1.43 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004064/0.4996, allocations: 193.3 kB / 0.5666 GB, free: 1.191 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.452/3.952, allocations: 0 / 0.5666 GB, free: 1.191 MB / 430.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/linux/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) Environment - environmentSimulation: