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.001074/0.001074, allocations: 109.4 kB / 15.69 MB, free: 128 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.001305/0.001305, allocations: 188 kB / 16.62 MB, free: 6.582 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.338/1.338, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.698/1.698, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001746/0.001746, allocations: 73.11 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2407, allocations: 114.6 MB / 0.7837 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002309/0.2431, allocations: 0.7862 MB / 0.7844 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.245, allocations: 1.511 MB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.2451, allocations: 4 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.84e-05/0.2451, allocations: 3.938 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.216e-05/0.2452, allocations: 3.938 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.2457, allocations: 147.4 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.579e-05/0.2458, allocations: 51.89 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.2458, allocations: 4 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.106e-05/0.2459, allocations: 23.92 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.019e-05/0.246, allocations: 31.89 kB / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.246, allocations: 4 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004606/0.2464, allocations: 327.3 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.141e-05/0.2465, allocations: 19.92 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.2465, allocations: 23.86 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.2469, allocations: 215.8 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2469, allocations: 0 / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2469, allocations: 4 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2469, allocations: 0 / 0.7867 GB, free: 10.07 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.000606/0.2475, allocations: 395.4 kB / 0.7871 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2476, allocations: 12.03 kB / 0.7871 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.936e-05/0.2476, allocations: 42.73 kB / 0.7872 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004211/0.248, allocations: 76.69 kB / 0.7872 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.2481, allocations: 164.4 kB / 0.7874 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.2482, allocations: 8.375 kB / 0.7874 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.2482, allocations: 8.312 kB / 0.7874 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.2486, allocations: 105.7 kB / 0.7875 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.2486, allocations: 7.906 kB / 0.7875 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.2486, allocations: 4 kB / 0.7875 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2486, allocations: 4 kB / 0.7875 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004815/0.2491, allocations: 103.9 kB / 0.7876 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005309/0.2496, allocations: 332.5 kB / 0.7879 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006122/0.2503, allocations: 150.5 kB / 0.7881 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.2505, allocations: 60.8 kB / 0.7881 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.2505, allocations: 160 / 0.7881 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.2506, allocations: 34.56 kB / 0.7882 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.2506, allocations: 0 / 0.7882 GB, free: 8.418 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.01707/0.2676, allocations: 2.84 MB / 0.7909 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.2677, allocations: 59.34 kB / 0.791 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.813e-05/0.2678, allocations: 97.86 kB / 0.7911 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.444e-05/0.2678, allocations: 25.7 kB / 0.7911 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.2679, allocations: 96.03 kB / 0.7912 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.251e-05/0.268, allocations: 39.45 kB / 0.7912 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.2681, allocations: 69.58 kB / 0.7913 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.331e-05/0.2682, allocations: 314.8 kB / 0.7916 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006498/0.2689, allocations: 191.8 kB / 0.7918 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006268/0.2695, allocations: 191.9 kB / 0.792 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.2708, allocations: 396.5 kB / 0.7924 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2708, allocations: 0 / 0.7924 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001493/0.2723, allocations: 485 kB / 0.7928 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2723, allocations: 4 kB / 0.7928 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2724, allocations: 4 kB / 0.7928 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2724, allocations: 0 / 0.7928 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007977/0.2732, allocations: 107.7 kB / 0.7929 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.2732, allocations: 0 / 0.7929 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005705/0.2738, allocations: 43.94 kB / 0.793 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.044e-05/0.2738, allocations: 31.92 kB / 0.793 GB, free: 3.316 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.0001436/0.274, allocations: 121.8 kB / 0.7931 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/0.2741, allocations: 4 kB / 0.7931 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.585e-05/0.2741, allocations: 8.25 kB / 0.7931 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.2742, allocations: 15.86 kB / 0.7931 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.2742, allocations: 0 / 0.7931 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.2742, allocations: 0 / 0.7931 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.2763, allocations: 1.047 MB / 0.7942 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2763, allocations: 0 / 0.7942 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007897/0.2771, allocations: 115.7 kB / 0.7943 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.2771, allocations: 4 kB / 0.7943 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.298e-05/0.2772, allocations: 19.94 kB / 0.7943 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.2772, allocations: 3.984 kB / 0.7943 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2772, allocations: 0 / 0.7943 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.2795, allocations: 0.7913 MB / 0.7951 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.2796, allocations: 120.9 kB / 0.7952 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.2797, allocations: 3.984 kB / 0.7952 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006399/0.2803, allocations: 52 kB / 0.7952 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-05/0.2804, allocations: 23.92 kB / 0.7953 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.939e-05/0.2805, allocations: 27.88 kB / 0.7953 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.637e-05/0.2805, allocations: 79.28 kB / 0.7954 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.443e-06/0.2805, allocations: 0 / 0.7954 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003802/0.2809, allocations: 59.94 kB / 0.7954 GB, free: 0.6719 MB / 0.6075 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.002598/0.2835, allocations: 1.349 MB / 0.7967 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001416/0.285, allocations: 427.5 kB / 0.7971 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.285, allocations: 0 / 0.7971 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007055/0.2857, allocations: 219.7 kB / 0.7974 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.2861, allocations: 8 kB / 0.7974 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008297/0.2944, allocations: 2.946 MB / 0.8002 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.2948, allocations: 0.6963 MB / 0.8009 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000556/0.2953, allocations: 88.67 kB / 0.801 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/0.2956, allocations: 63.3 kB / 0.8011 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of SimCode: time 6.41e-07/0.2956, allocations: 0 / 0.8011 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.3183, allocations: 4.565 MB / 0.8055 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.237/7.555, allocations: 6 kB / 0.8055 GB, free: 6.328 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)