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.00105/0.00105, allocations: 102.3 kB / 16.27 MB, free: 5.93 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.001403/0.001404, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7038/0.7038, allocations: 122.8 MB / 413.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 64.05 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3035, allocations: 77.92 MB / 0.5673 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001896/0.3055, allocations: 0.7742 MB / 0.5681 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.3068, allocations: 1.472 MB / 0.5695 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.727e-05/0.3069, allocations: 0 / 0.5695 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.479e-05/0.3069, allocations: 4.5 kB / 0.5695 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.461e-05/0.3069, allocations: 8.656 kB / 0.5695 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.3073, allocations: 144.3 kB / 0.5696 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.59e-05/0.3074, allocations: 49.41 kB / 0.5697 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.892e-05/0.3075, allocations: 4.156 kB / 0.5697 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.661e-05/0.3075, allocations: 28.38 kB / 0.5697 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.504e-05/0.3076, allocations: 34.88 kB / 0.5698 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.3076, allocations: 4.75 kB / 0.5698 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004058/0.308, allocations: 318.6 kB / 0.5701 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.308, allocations: 15.36 kB / 0.5701 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.3081, allocations: 25.8 kB / 0.5701 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.3084, allocations: 214.4 kB / 0.5703 GB, free: 30.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.3084, allocations: 1.312 kB / 0.5703 GB, free: 30.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3084, allocations: 0 / 0.5703 GB, free: 30.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.3084, allocations: 0.9688 kB / 0.5703 GB, free: 30.97 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005108/0.3089, allocations: 400.8 kB / 0.5707 GB, free: 30.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.3089, allocations: 10.62 kB / 0.5707 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.876e-05/0.309, allocations: 38.8 kB / 0.5707 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004208/0.3094, allocations: 71.95 kB / 0.5708 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.03e-05/0.3095, allocations: 169.1 kB / 0.571 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.3095, allocations: 8.031 kB / 0.571 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.3095, allocations: 12.84 kB / 0.571 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.3099, allocations: 109.5 kB / 0.5711 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.3099, allocations: 1.438 kB / 0.5711 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3099, allocations: 5.094 kB / 0.5711 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3099, allocations: 2.844 kB / 0.5711 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004562/0.3104, allocations: 103 kB / 0.5712 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.3108, allocations: 334.1 kB / 0.5715 GB, free: 29.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005905/0.3114, allocations: 151.6 kB / 0.5717 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.3116, allocations: 58.09 kB / 0.5717 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.3117, allocations: 1.219 kB / 0.5717 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.3117, allocations: 32.41 kB / 0.5717 GB, free: 29.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3117, allocations: 0 / 0.5717 GB, free: 29.87 MB / 446.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.01695/0.3286, allocations: 2.838 MB / 0.5745 GB, free: 29.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.3287, allocations: 57.84 kB / 0.5746 GB, free: 29.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.322e-05/0.3287, allocations: 105.6 kB / 0.5747 GB, free: 28.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.3288, allocations: 26.98 kB / 0.5747 GB, free: 28.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/0.3288, allocations: 94.7 kB / 0.5748 GB, free: 28.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/0.3289, allocations: 43.03 kB / 0.5748 GB, free: 28.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.329, allocations: 73.45 kB / 0.5749 GB, free: 28.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.57e-05/0.3291, allocations: 319.3 kB / 0.5752 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006315/0.3297, allocations: 192.9 kB / 0.5754 GB, free: 28.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006151/0.3303, allocations: 193 kB / 0.5756 GB, free: 28.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.3316, allocations: 397 kB / 0.576 GB, free: 28.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3316, allocations: 0 / 0.576 GB, free: 28.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00138/0.333, allocations: 481.2 kB / 0.5764 GB, free: 27.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.333, allocations: 4.656 kB / 0.5764 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.333, allocations: 3.938 kB / 0.5764 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.333, allocations: 1.438 kB / 0.5764 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007329/0.3338, allocations: 113.7 kB / 0.5765 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3338, allocations: 0 / 0.5765 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005809/0.3344, allocations: 41.94 kB / 0.5766 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.3344, allocations: 39.14 kB / 0.5766 GB, free: 27.85 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 (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 9.991e-05/0.3345, allocations: 117.2 kB / 0.5767 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.746e-05/0.3346, allocations: 2.656 kB / 0.5767 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.3347, allocations: 9.344 kB / 0.5767 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3347, allocations: 5.219 kB / 0.5767 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.3347, allocations: 0 / 0.5767 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.3347, allocations: 5.453 kB / 0.5767 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.3364, allocations: 1.057 MB / 0.5778 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3365, allocations: 0 / 0.5778 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007321/0.3372, allocations: 117.2 kB / 0.5779 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3372, allocations: 1.375 kB / 0.5779 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.3373, allocations: 24.05 kB / 0.5779 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3373, allocations: 1.375 kB / 0.5779 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3373, allocations: 0 / 0.5779 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.3393, allocations: 0.784 MB / 0.5787 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.906e-05/0.3394, allocations: 123.2 kB / 0.5788 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/0.3395, allocations: 1.344 kB / 0.5788 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006235/0.3401, allocations: 50.84 kB / 0.5788 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.3402, allocations: 30.61 kB / 0.5789 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.3402, allocations: 22.12 kB / 0.5789 GB, free: 26.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.877e-05/0.3402, allocations: 82.8 kB / 0.579 GB, free: 25.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.3403, allocations: 0 / 0.579 GB, free: 25.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003293/0.3406, allocations: 55.22 kB / 0.579 GB, free: 25.96 MB / 446.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.002192/0.3428, allocations: 1.347 MB / 0.5803 GB, free: 24.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.3441, allocations: 424.4 kB / 0.5807 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3441, allocations: 0 / 0.5807 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006466/0.3447, allocations: 226.9 kB / 0.581 GB, free: 24.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.345, allocations: 17.03 kB / 0.581 GB, free: 24.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007235/0.3523, allocations: 2.924 MB / 0.5838 GB, free: 22.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.325e-05/0.3524, allocations: 0.6911 MB / 0.5845 GB, free: 21.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005743/0.3529, allocations: 86.83 kB / 0.5846 GB, free: 21.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.3532, allocations: 66.95 kB / 0.5847 GB, free: 21.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3532, allocations: 5.25 kB / 0.5847 GB, free: 21.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3398/0.693, allocations: 4.541 MB / 0.5891 GB, free: 19.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/8.356, allocations: 7.141 kB / 0.5891 GB, free: 19.24 MB / 446.1 MB (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)