Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.381/1.381, allocations: 251.5 MB / 266.7 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008983/0.0008983, allocations: 175 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205 MB / 0.576 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008551/0.0008553, allocations: 78.38 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005925/0.0005924, allocations: 11.59 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2318, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0008187/0.2326, allocations: 355 kB / 0.8966 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.2348, allocations: 1.508 MB / 0.898 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.174e-05/0.2348, allocations: 0 / 0.898 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.961e-05/0.2349, allocations: 0 / 0.898 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.395e-05/0.2349, allocations: 4 kB / 0.898 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005872/0.2355, allocations: 114.4 kB / 0.8981 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.179e-05/0.2356, allocations: 27.97 kB / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.501e-05/0.2357, allocations: 7.938 kB / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.267e-05/0.2357, allocations: 15.98 kB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.496e-05/0.2358, allocations: 19.97 kB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.2358, allocations: 8 kB / 0.8982 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004719/0.2363, allocations: 315.3 kB / 0.8985 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.968e-05/0.2364, allocations: 11.92 kB / 0.8985 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.2364, allocations: 19.91 kB / 0.8986 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.2367, allocations: 183.6 kB / 0.8987 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2367, allocations: 0 / 0.8987 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2367, allocations: 0 / 0.8987 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.2367, allocations: 0 / 0.8987 GB, free: 65.47 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004973/0.2372, allocations: 351.6 kB / 0.8991 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.2373, allocations: 16.03 kB / 0.8991 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.2373, allocations: 34.75 kB / 0.8991 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004489/0.2378, allocations: 80.84 kB / 0.8992 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.2379, allocations: 160.4 kB / 0.8993 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.2379, allocations: 384 / 0.8993 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.238, allocations: 8.312 kB / 0.8994 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.2383, allocations: 85.75 kB / 0.8994 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2383, allocations: 0 / 0.8994 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.2384, allocations: 11.92 kB / 0.8994 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.2384, allocations: 4 kB / 0.8995 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.2387, allocations: 83.86 kB / 0.8995 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002647/0.239, allocations: 165.6 kB / 0.8997 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006418/0.2396, allocations: 142.6 kB / 0.8998 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.2398, allocations: 44.92 kB / 0.8999 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004782/0.2403, allocations: 181 kB / 0.9 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.2403, allocations: 34.5 kB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.2403, allocations: 4 kB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.001269/0.2416, allocations: 438.2 kB / 0.9005 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.2417, allocations: 55.34 kB / 0.9005 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.704e-05/0.2418, allocations: 93.86 kB / 0.9006 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.2418, allocations: 29.7 kB / 0.9007 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.2418, allocations: 80.14 kB / 0.9007 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.2419, allocations: 19.7 kB / 0.9008 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.2419, allocations: 13.72 kB / 0.9008 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.977e-05/0.242, allocations: 315 kB / 0.9011 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.2422, allocations: 43.95 kB / 0.9011 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.2423, allocations: 43.97 kB / 0.9012 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.2426, allocations: 88.8 kB / 0.9012 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2426, allocations: 0 / 0.9012 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003562/0.243, allocations: 133.5 kB / 0.9014 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.243, allocations: 7.984 kB / 0.9014 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.243, allocations: 0 / 0.9014 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.2431, allocations: 0 / 0.9014 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.2432, allocations: 24.23 kB / 0.9014 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2432, allocations: 0 / 0.9014 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.446e-05/0.2433, allocations: 23.98 kB / 0.9014 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.2433, allocations: 0 / 0.9014 GB, free: 62.42 MB / 0.6042 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 (6): * Single equations (assignments): 6 * 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 8.763e-05/0.2434, allocations: 117.8 kB / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.2435, allocations: 3.938 kB / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004395/0.2439, allocations: 149.1 kB / 0.9017 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2439, allocations: 4 kB / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.2439, allocations: 0 / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.244, allocations: 3.938 kB / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.2441, allocations: 173.5 kB / 0.9019 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2441, allocations: 3.938 kB / 0.9019 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.2442, allocations: 27.98 kB / 0.9019 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.2443, allocations: 0 / 0.9019 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.2443, allocations: 4 kB / 0.9019 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2443, allocations: 0 / 0.9019 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2443, allocations: 0 / 0.9019 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005332/0.2448, allocations: 205 kB / 0.9021 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.865e-05/0.2449, allocations: 93 kB / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.2449, allocations: 0 / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.245, allocations: 20.05 kB / 0.9022 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.2451, allocations: 7.984 kB / 0.9022 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.2451, allocations: 4 kB / 0.9022 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.387e-05/0.2451, allocations: 75.28 kB / 0.9023 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2451, allocations: 0 / 0.9023 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002288/0.2454, allocations: 32 kB / 0.9023 GB, free: 61.41 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0008165/0.2462, allocations: 0.7724 MB / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003339/0.2465, allocations: 108.1 kB / 0.9032 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2465, allocations: 0 / 0.9032 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.2467, allocations: 51.97 kB / 0.9032 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.2469, allocations: 336 / 0.9032 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.2485, allocations: 1.405 MB / 0.9046 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.2487, allocations: 0.6809 MB / 0.9052 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.2488, allocations: 16 kB / 0.9053 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.046e-05/0.2489, allocations: 15.44 kB / 0.9053 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of SimCode: time 3.81e-07/0.2489, allocations: 4 kB / 0.9053 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0116/0.2605, allocations: 1.836 MB / 0.9071 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/0.2607, allocations: 235.6 kB / 0.9073 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/1.853, allocations: 1.875 kB / 0.9073 GB, free: 56.3 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)