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.00115/0.00115, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001335/0.001335, allocations: 192 kB / 17.2 MB, free: 5.598 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.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7013/0.7013, allocations: 122.9 MB / 413.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 63.91 kB / 0.4912 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3192, allocations: 77.91 MB / 0.5673 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001407/0.3207, allocations: 0.5947 MB / 0.5679 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.3219, allocations: 1.449 MB / 0.5693 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.879e-05/0.3219, allocations: 0 / 0.5693 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.536e-06/0.322, allocations: 1.062 kB / 0.5693 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.199e-05/0.322, allocations: 3.938 kB / 0.5693 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.3224, allocations: 140.5 kB / 0.5694 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.755e-05/0.3224, allocations: 31.33 kB / 0.5695 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.88e-05/0.3225, allocations: 1.625 kB / 0.5695 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.353e-05/0.3225, allocations: 18.02 kB / 0.5695 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.658e-05/0.3226, allocations: 23.69 kB / 0.5695 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.3226, allocations: 2.094 kB / 0.5695 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004013/0.323, allocations: 320.1 kB / 0.5698 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.323, allocations: 5.406 kB / 0.5698 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.3231, allocations: 13.41 kB / 0.5698 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.3233, allocations: 187.9 kB / 0.57 GB, free: 30.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.3233, allocations: 0.9688 kB / 0.57 GB, free: 30.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3233, allocations: 1.094 kB / 0.57 GB, free: 30.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3234, allocations: 0 / 0.57 GB, free: 30.93 MB / 446.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.0003725/0.3237, allocations: 367.1 kB / 0.5704 GB, free: 30.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.3238, allocations: 10.47 kB / 0.5704 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.118e-05/0.3238, allocations: 36.8 kB / 0.5704 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004189/0.3242, allocations: 68.19 kB / 0.5705 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.907e-05/0.3243, allocations: 167.3 kB / 0.5706 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.3243, allocations: 4.938 kB / 0.5706 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.3243, allocations: 2.781 kB / 0.5706 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.3246, allocations: 78.42 kB / 0.5707 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.3246, allocations: 0 / 0.5707 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3246, allocations: 0.5312 kB / 0.5707 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.3246, allocations: 2.688 kB / 0.5707 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.3249, allocations: 63.09 kB / 0.5708 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.325, allocations: 168.9 kB / 0.5709 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005318/0.3256, allocations: 125.3 kB / 0.5711 GB, free: 30.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.3257, allocations: 46.14 kB / 0.5711 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004114/0.3261, allocations: 165 kB / 0.5713 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.286e-05/0.3262, allocations: 37.97 kB / 0.5713 GB, free: 29.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3262, allocations: 0 / 0.5713 GB, free: 29.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009533/0.3271, allocations: 402.9 kB / 0.5717 GB, free: 29.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.275e-05/0.3272, allocations: 53.5 kB / 0.5717 GB, free: 29.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.745e-05/0.3272, allocations: 94 kB / 0.5718 GB, free: 29.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.3272, allocations: 32.33 kB / 0.5718 GB, free: 29.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.538e-06/0.3272, allocations: 80.14 kB / 0.5719 GB, free: 29.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.3272, allocations: 15.14 kB / 0.5719 GB, free: 29.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.3273, allocations: 22.72 kB / 0.572 GB, free: 29.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.211e-05/0.3273, allocations: 317.5 kB / 0.5723 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.3275, allocations: 33.8 kB / 0.5723 GB, free: 28.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.3276, allocations: 40.42 kB / 0.5723 GB, free: 28.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.3279, allocations: 82.08 kB / 0.5724 GB, free: 28.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3279, allocations: 3.438 kB / 0.5724 GB, free: 28.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003308/0.3283, allocations: 108.8 kB / 0.5725 GB, free: 28.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.3283, allocations: 4.938 kB / 0.5725 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.3283, allocations: 0.6562 kB / 0.5725 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.3283, allocations: 2.125 kB / 0.5725 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.3284, allocations: 28.08 kB / 0.5726 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.3284, allocations: 1.125 kB / 0.5726 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.274e-05/0.3285, allocations: 12.25 kB / 0.5726 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3286, allocations: 2.875 kB / 0.5726 GB, free: 28.89 MB / 446.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 4.525e-05/0.3286, allocations: 114 kB / 0.5727 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.3286, allocations: 5.344 kB / 0.5727 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000414/0.329, allocations: 137.8 kB / 0.5728 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3291, allocations: 1.219 kB / 0.5728 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3291, allocations: 0 / 0.5728 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3291, allocations: 4.453 kB / 0.5728 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.952e-05/0.3292, allocations: 165.7 kB / 0.573 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3292, allocations: 3.938 kB / 0.573 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.3293, allocations: 22.92 kB / 0.573 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3293, allocations: 1.125 kB / 0.573 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3293, allocations: 13 kB / 0.573 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3293, allocations: 1.438 kB / 0.573 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3293, allocations: 0.5312 kB / 0.573 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004912/0.3298, allocations: 187.7 kB / 0.5732 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.3299, allocations: 88.05 kB / 0.5733 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.3299, allocations: 6.672 kB / 0.5733 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.33, allocations: 17.08 kB / 0.5733 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.3301, allocations: 1.875 kB / 0.5733 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.3301, allocations: 2.906 kB / 0.5733 GB, free: 28.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.678e-05/0.3301, allocations: 78.84 kB / 0.5734 GB, free: 28.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3301, allocations: 0 / 0.5734 GB, free: 28.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002047/0.3303, allocations: 41.33 kB / 0.5734 GB, free: 28.23 MB / 446.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.0006928/0.331, allocations: 0.7438 MB / 0.5741 GB, free: 27.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.3314, allocations: 89.61 kB / 0.5742 GB, free: 27.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3314, allocations: 3.094 kB / 0.5742 GB, free: 27.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.3315, allocations: 42.25 kB / 0.5743 GB, free: 27.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.3317, allocations: 8.609 kB / 0.5743 GB, free: 27.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.3332, allocations: 1.349 MB / 0.5756 GB, free: 26.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.692e-05/0.3333, allocations: 0.6824 MB / 0.5763 GB, free: 25.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.739e-05/0.3334, allocations: 15.95 kB / 0.5763 GB, free: 25.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.3335, allocations: 14 kB / 0.5763 GB, free: 25.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3335, allocations: 0 / 0.5763 GB, free: 25.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2874/0.6209, allocations: 2.035 MB / 0.5783 GB, free: 25.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.373/7.994, allocations: 9.781 kB / 0.5783 GB, free: 25.33 MB / 446.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)