Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_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.001566/0.001566, allocations: 108 kB / 15.61 MB, free: 152 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.001773/0.001773, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.7/2.7, allocations: 469.4 MB / 0.742 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 65.36 kB / 0.9083 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2742, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002174/0.2764, allocations: 0.7892 MB / 1.064 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001997/0.2784, allocations: 1.475 MB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.079e-05/0.2785, allocations: 0 / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.2786, allocations: 7.922 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.171e-05/0.2786, allocations: 3.938 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005431/0.2791, allocations: 143.5 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.346e-05/0.2792, allocations: 55.83 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.252e-05/0.2793, allocations: 4 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.119e-05/0.2794, allocations: 27.91 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.685e-05/0.2795, allocations: 31.91 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.2795, allocations: 4 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004839/0.28, allocations: 327.3 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.28, allocations: 11.92 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.2801, allocations: 27.86 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.2804, allocations: 207.9 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2804, allocations: 0 / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2804, allocations: 0 / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.2804, allocations: 0 / 1.067 GB, free: 11.36 MB / 0.8262 GB 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.0006497/0.2811, allocations: 399.4 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.2811, allocations: 8.031 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.482e-05/0.2812, allocations: 50.67 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000477/0.2817, allocations: 72.75 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.2818, allocations: 168.3 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.2818, allocations: 4.375 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.2819, allocations: 8.375 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.2822, allocations: 105.7 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2823, allocations: 4 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.2823, allocations: 8 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2823, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005059/0.2828, allocations: 99.89 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.2834, allocations: 336.5 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006976/0.2841, allocations: 158.4 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.2844, allocations: 60.73 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.2844, allocations: 8.141 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.2844, allocations: 34.56 kB / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.2845, allocations: 3.938 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB 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.01912/0.3036, allocations: 2.826 MB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.3036, allocations: 55.34 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.464e-05/0.3037, allocations: 101.9 kB / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.3038, allocations: 29.7 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.3038, allocations: 92.06 kB / 1.071 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.558e-05/0.3039, allocations: 39.36 kB / 1.071 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.3041, allocations: 69.58 kB / 1.071 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3042, allocations: 314.8 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007103/0.3049, allocations: 191.8 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006894/0.3056, allocations: 194.2 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.3071, allocations: 400.5 kB / 1.072 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3071, allocations: 0 / 1.072 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001625/0.3087, allocations: 476.1 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3087, allocations: 4 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3088, allocations: 0 / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3088, allocations: 0 / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008859/0.3097, allocations: 115.7 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3097, allocations: 0 / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006651/0.3104, allocations: 43.94 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.557e-05/0.3104, allocations: 27.92 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB 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.0001593/0.3106, allocations: 122.3 kB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.659e-05/0.3107, allocations: 3.906 kB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.399e-05/0.3107, allocations: 11.97 kB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3108, allocations: 3.938 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3108, allocations: 0 / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3108, allocations: 3.938 kB / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.313, allocations: 1.043 MB / 1.074 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3131, allocations: 0 / 1.074 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000868/0.3139, allocations: 119.7 kB / 1.074 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3139, allocations: 0 / 1.074 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.307e-05/0.314, allocations: 23.94 kB / 1.074 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.314, allocations: 3.984 kB / 1.074 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.314, allocations: 0 / 1.074 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00246/0.3165, allocations: 0.7879 MB / 1.075 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.3166, allocations: 124.8 kB / 1.075 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.338e-05/0.3167, allocations: 3.984 kB / 1.075 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007244/0.3174, allocations: 48 kB / 1.075 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.3176, allocations: 35.86 kB / 1.075 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.462e-05/0.3176, allocations: 19.94 kB / 1.075 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.205e-05/0.3177, allocations: 79.47 kB / 1.075 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3177, allocations: 0 / 1.075 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004154/0.3181, allocations: 56 kB / 1.075 GB, free: 1.977 MB / 0.8262 GB 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.002801/0.3209, allocations: 1.35 MB / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.3225, allocations: 427.5 kB / 1.077 GB, free: 188 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3225, allocations: 0 / 1.077 GB, free: 188 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007713/0.3233, allocations: 231.6 kB / 1.077 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.3236, allocations: 9.375 kB / 1.077 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009021/0.3327, allocations: 2.93 MB / 1.08 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.3329, allocations: 0.6924 MB / 1.081 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000661/0.3336, allocations: 96.66 kB / 1.081 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.3339, allocations: 63.3 kB / 1.081 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of SimCode: time 5.51e-07/0.3339, allocations: 0 / 1.081 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.3561, allocations: 4.542 MB / 1.085 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.345/7.702, allocations: 4.938 kB / 1.085 GB, free: 7.641 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.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 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)