Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_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_8_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.0008515/0.0008515, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005227/0.005227, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005452/0.0005454, allocations: 21.84 kB / 0.6744 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2631, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001209/0.2643, allocations: 0.5242 MB / 0.7885 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002516/0.2669, allocations: 1.515 MB / 0.79 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.2669, allocations: 4 kB / 0.79 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.962e-05/0.267, allocations: 0 / 0.79 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.629e-05/0.267, allocations: 3.938 kB / 0.79 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005812/0.2676, allocations: 111.7 kB / 0.7901 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.938e-05/0.2677, allocations: 51.89 kB / 0.7902 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.693e-05/0.2678, allocations: 4 kB / 0.7902 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.541e-05/0.2679, allocations: 23.92 kB / 0.7902 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.039e-05/0.268, allocations: 35.88 kB / 0.7902 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.268, allocations: 4 kB / 0.7902 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005165/0.2685, allocations: 315.4 kB / 0.7905 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.2686, allocations: 15.91 kB / 0.7905 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.546e-05/0.2686, allocations: 49.56 kB / 0.7906 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004152/0.269, allocations: 211.8 kB / 0.7908 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2691, allocations: 0 / 0.7908 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.867e-06/0.2691, allocations: 4 kB / 0.7908 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2691, allocations: 3.938 kB / 0.7908 GB, free: 8.578 MB / 0.6075 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.0007483/0.2698, allocations: 391.3 kB / 0.7912 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.2699, allocations: 12.03 kB / 0.7912 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.026e-05/0.27, allocations: 34.75 kB / 0.7912 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000545/0.2705, allocations: 92.75 kB / 0.7913 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.2707, allocations: 164.4 kB / 0.7915 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.2708, allocations: 8.375 kB / 0.7915 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/0.2708, allocations: 8.375 kB / 0.7915 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004446/0.2713, allocations: 121.7 kB / 0.7916 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.2713, allocations: 4 kB / 0.7916 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.2713, allocations: 0 / 0.7916 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.2713, allocations: 0 / 0.7916 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005541/0.2719, allocations: 131.8 kB / 0.7917 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000757/0.2727, allocations: 340.6 kB / 0.792 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006893/0.2734, allocations: 186.4 kB / 0.7922 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.2736, allocations: 64.81 kB / 0.7923 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.2736, allocations: 4 kB / 0.7923 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.2737, allocations: 34.56 kB / 0.7923 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.2737, allocations: 0 / 0.7923 GB, free: 6.844 MB / 0.6075 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.01881/0.2925, allocations: 3.186 MB / 0.7954 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.2926, allocations: 63.44 kB / 0.7955 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.145e-05/0.2927, allocations: 97.8 kB / 0.7956 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/0.2927, allocations: 29.7 kB / 0.7956 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/0.2928, allocations: 100 kB / 0.7957 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.842e-05/0.2929, allocations: 43.39 kB / 0.7957 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.741e-05/0.2929, allocations: 13.72 kB / 0.7958 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.293, allocations: 318.8 kB / 0.7961 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006697/0.2937, allocations: 215.8 kB / 0.7963 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006731/0.2944, allocations: 219.8 kB / 0.7965 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.2957, allocations: 444.4 kB / 0.7969 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2958, allocations: 0 / 0.7969 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001538/0.2973, allocations: 0.5129 MB / 0.7974 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2973, allocations: 4 kB / 0.7974 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.2973, allocations: 0 / 0.7974 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2974, allocations: 4 kB / 0.7974 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008172/0.2982, allocations: 127.7 kB / 0.7975 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.2982, allocations: 3.938 kB / 0.7975 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006367/0.2988, allocations: 59.94 kB / 0.7976 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.2989, allocations: 23.94 kB / 0.7976 GB, free: 1.266 MB / 0.6075 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.0001543/0.2991, allocations: 118.5 kB / 0.7977 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-05/0.2991, allocations: 7.906 kB / 0.7977 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.42e-05/0.2992, allocations: 15.97 kB / 0.7978 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.2992, allocations: 3.938 kB / 0.7978 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2992, allocations: 0 / 0.7978 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2992, allocations: 192 / 0.7978 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.3014, allocations: 1.101 MB / 0.7988 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.3014, allocations: 0 / 0.7988 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008204/0.3022, allocations: 127.7 kB / 0.799 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.3023, allocations: 3.938 kB / 0.799 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.444e-05/0.3023, allocations: 23.94 kB / 0.799 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.3023, allocations: 7.984 kB / 0.799 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3023, allocations: 0 / 0.799 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/0.3047, allocations: 0.862 MB / 0.7998 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.3048, allocations: 120.9 kB / 0.7999 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.837e-05/0.3049, allocations: 8.062 kB / 0.8 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000687/0.3056, allocations: 59.92 kB / 0.8 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.201e-05/0.3057, allocations: 27.92 kB / 0.8 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.489e-05/0.3057, allocations: 27.94 kB / 0.8001 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 3.588e-05/0.3058, allocations: 75.28 kB / 0.8001 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3058, allocations: 3.938 kB / 0.8001 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003613/0.3061, allocations: 59.98 kB / 0.8002 GB, free: 14.46 MB / 0.6231 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.002591/0.3087, allocations: 1.415 MB / 0.8016 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.3102, allocations: 475.5 kB / 0.802 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3102, allocations: 0 / 0.802 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007245/0.3109, allocations: 251.7 kB / 0.8023 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.3113, allocations: 14.42 kB / 0.8023 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008576/0.3198, allocations: 3.173 MB / 0.8054 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.3201, allocations: 0.6965 MB / 0.8061 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006305/0.3207, allocations: 84.67 kB / 0.8061 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.321, allocations: 71.23 kB / 0.8062 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.321, allocations: 0 / 0.8062 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01544/0.3365, allocations: 4.228 MB / 0.8103 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.3367, allocations: 225.7 kB / 0.8106 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.085, allocations: 4 kB / 0.8106 GB, free: 3.855 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)