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.001117/0.001117, allocations: 101 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.0009345/0.0009346, allocations: 189.9 kB / 17.19 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.276/1.276, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7246/0.7246, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 59.91 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3196, allocations: 77.92 MB / 0.5673 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001839/0.3215, allocations: 0.775 MB / 0.5681 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.3229, allocations: 1.47 MB / 0.5695 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.044e-05/0.323, allocations: 2.094 kB / 0.5695 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.323, allocations: 4.5 kB / 0.5695 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.692e-05/0.3231, allocations: 5.969 kB / 0.5695 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.3235, allocations: 142.8 kB / 0.5696 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.133e-05/0.3236, allocations: 53.25 kB / 0.5697 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.3236, allocations: 8.609 kB / 0.5697 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.366e-05/0.3237, allocations: 25.61 kB / 0.5697 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.11e-05/0.3238, allocations: 30.62 kB / 0.5697 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.3238, allocations: 8.953 kB / 0.5698 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000432/0.3242, allocations: 317.3 kB / 0.5701 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.3242, allocations: 18.41 kB / 0.5701 GB, free: 31.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.3243, allocations: 25.72 kB / 0.5701 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.3246, allocations: 207.4 kB / 0.5703 GB, free: 31.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3246, allocations: 0 / 0.5703 GB, free: 31.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3246, allocations: 5.031 kB / 0.5703 GB, free: 31.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.3246, allocations: 0.5625 kB / 0.5703 GB, free: 31.05 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.000547/0.3252, allocations: 401 kB / 0.5707 GB, free: 30.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3252, allocations: 10.36 kB / 0.5707 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.218e-05/0.3253, allocations: 38.97 kB / 0.5707 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004407/0.3257, allocations: 72.5 kB / 0.5708 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.836e-05/0.3258, allocations: 168.2 kB / 0.571 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.3258, allocations: 5.172 kB / 0.571 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.3258, allocations: 12.66 kB / 0.571 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.3262, allocations: 114 kB / 0.5711 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3262, allocations: 0 / 0.5711 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3263, allocations: 5.094 kB / 0.5711 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3263, allocations: 3.781 kB / 0.5711 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004796/0.3268, allocations: 100 kB / 0.5712 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.3272, allocations: 334.8 kB / 0.5715 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006502/0.3279, allocations: 153.6 kB / 0.5717 GB, free: 30.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.3281, allocations: 57.06 kB / 0.5717 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.3282, allocations: 1.25 kB / 0.5717 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.3282, allocations: 33.62 kB / 0.5717 GB, free: 29.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.3282, allocations: 1.094 kB / 0.5717 GB, free: 29.95 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.01819/0.3464, allocations: 2.842 MB / 0.5745 GB, free: 29.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.3465, allocations: 57.62 kB / 0.5746 GB, free: 29.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/0.3466, allocations: 104.5 kB / 0.5747 GB, free: 29.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/0.3466, allocations: 26.77 kB / 0.5747 GB, free: 28.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.3467, allocations: 91.81 kB / 0.5748 GB, free: 28.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.349e-05/0.3467, allocations: 43.23 kB / 0.5748 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.3469, allocations: 73.2 kB / 0.5749 GB, free: 28.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.224e-05/0.347, allocations: 315.3 kB / 0.5752 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006944/0.3477, allocations: 196.7 kB / 0.5754 GB, free: 28.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006776/0.3484, allocations: 196.8 kB / 0.5756 GB, free: 28.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.3497, allocations: 391 kB / 0.576 GB, free: 28.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3498, allocations: 0 / 0.576 GB, free: 28.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001478/0.3512, allocations: 476.3 kB / 0.5764 GB, free: 28.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3513, allocations: 5.344 kB / 0.5764 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3513, allocations: 0 / 0.5764 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.3513, allocations: 5.391 kB / 0.5764 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007874/0.3521, allocations: 121 kB / 0.5765 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.3521, allocations: 1.375 kB / 0.5765 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000574/0.3527, allocations: 46.06 kB / 0.5766 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/0.3527, allocations: 21.44 kB / 0.5766 GB, free: 27.93 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 0.0001323/0.3529, allocations: 118.6 kB / 0.5767 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.11e-05/0.353, allocations: 6.688 kB / 0.5767 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.823e-05/0.353, allocations: 13.33 kB / 0.5767 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.353, allocations: 5.312 kB / 0.5767 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.353, allocations: 0 / 0.5767 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3531, allocations: 1.375 kB / 0.5767 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/0.355, allocations: 1.053 MB / 0.5778 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.355, allocations: 3.938 kB / 0.5778 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000783/0.3558, allocations: 121.2 kB / 0.5779 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3558, allocations: 0 / 0.5779 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.3558, allocations: 21.44 kB / 0.5779 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3559, allocations: 0 / 0.5779 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3559, allocations: 1.375 kB / 0.5779 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.358, allocations: 0.7855 MB / 0.5787 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.3582, allocations: 120 kB / 0.5788 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.705e-05/0.3582, allocations: 1.125 kB / 0.5788 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006613/0.3589, allocations: 46.78 kB / 0.5788 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/0.359, allocations: 31.27 kB / 0.5789 GB, free: 26.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.721e-05/0.3591, allocations: 25.39 kB / 0.5789 GB, free: 26.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.671e-05/0.3591, allocations: 83.25 kB / 0.579 GB, free: 26.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3591, allocations: 0 / 0.579 GB, free: 26.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003816/0.3595, allocations: 50.56 kB / 0.579 GB, free: 26.05 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.002532/0.362, allocations: 1.355 MB / 0.5803 GB, free: 25.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001428/0.3635, allocations: 428.2 kB / 0.5807 GB, free: 24.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3635, allocations: 1.594 kB / 0.5807 GB, free: 24.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006774/0.3642, allocations: 232.7 kB / 0.581 GB, free: 24.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.3645, allocations: 8.547 kB / 0.581 GB, free: 24.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007965/0.3725, allocations: 2.923 MB / 0.5838 GB, free: 22.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.3727, allocations: 0.6913 MB / 0.5845 GB, free: 21.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006438/0.3733, allocations: 92.95 kB / 0.5846 GB, free: 21.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.3736, allocations: 63.36 kB / 0.5847 GB, free: 21.73 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3736, allocations: 0 / 0.5847 GB, free: 21.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.3954, allocations: 4.539 MB / 0.5891 GB, free: 19.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.187/7.582, allocations: 8.641 kB / 0.5891 GB, free: 19.32 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)