Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.399/2.399, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.002708/0.002708, allocations: 175.2 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.496/2.496, allocations: 205.4 MB / 0.5772 GB, free: 21.18 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.0009803/0.00098, allocations: 103.8 kB / 0.6817 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004787/0.0004789, allocations: 22.5 kB / 0.7957 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2095, allocations: 106.3 MB / 0.8995 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007763/0.2103, allocations: 342.8 kB / 0.8998 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002063/0.2124, allocations: 1.437 MB / 0.9012 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.2125, allocations: 0 / 0.9012 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.2125, allocations: 0 / 0.9012 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.794e-05/0.2125, allocations: 3.938 kB / 0.9012 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004971/0.213, allocations: 111.7 kB / 0.9013 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.734e-05/0.2131, allocations: 19.92 kB / 0.9014 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.2132, allocations: 0 / 0.9014 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.157e-05/0.2132, allocations: 19.98 kB / 0.9014 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.505e-05/0.2133, allocations: 31.83 kB / 0.9014 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.2134, allocations: 4 kB / 0.9014 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005742/0.2139, allocations: 307.4 kB / 0.9017 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.214, allocations: 4 kB / 0.9017 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.214, allocations: 29.7 kB / 0.9017 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.2143, allocations: 135.8 kB / 0.9019 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2143, allocations: 0 / 0.9019 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2143, allocations: 0 / 0.9019 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2143, allocations: 0 / 0.9019 GB, free: 63.56 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.0005477/0.2149, allocations: 361.5 kB / 0.9022 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.2149, allocations: 8.031 kB / 0.9022 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007675/0.2157, allocations: 80.86 kB / 0.9023 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.708e-05/0.2158, allocations: 164.4 kB / 0.9025 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.2158, allocations: 8.312 kB / 0.9025 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.2159, allocations: 384 / 0.9025 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003682/0.2162, allocations: 85.95 kB / 0.9025 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.2163, allocations: 0 / 0.9025 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.2163, allocations: 4 kB / 0.9026 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.2163, allocations: 0 / 0.9026 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005129/0.2168, allocations: 79.92 kB / 0.9026 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.217, allocations: 169.6 kB / 0.9028 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009591/0.218, allocations: 138.5 kB / 0.9029 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.2183, allocations: 52.91 kB / 0.903 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007546/0.2191, allocations: 177 kB / 0.9031 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.2191, allocations: 38.5 kB / 0.9032 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.764e-06/0.2191, allocations: 3.938 kB / 0.9032 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.001773/0.2209, allocations: 434.5 kB / 0.9036 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.2209, allocations: 51.41 kB / 0.9036 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.279e-05/0.221, allocations: 101.8 kB / 0.9037 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.221, allocations: 29.7 kB / 0.9038 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.868e-05/0.2211, allocations: 80.14 kB / 0.9038 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.2211, allocations: 19.66 kB / 0.9039 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.2211, allocations: 0 / 0.9039 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.676e-05/0.2212, allocations: 318.8 kB / 0.9042 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.2215, allocations: 44.09 kB / 0.9042 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.2217, allocations: 43.97 kB / 0.9043 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.222, allocations: 39.97 kB / 0.9043 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.222, allocations: 0 / 0.9043 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006068/0.2227, allocations: 133.5 kB / 0.9044 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.2227, allocations: 11.94 kB / 0.9044 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2227, allocations: 0 / 0.9044 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.2227, allocations: 0 / 0.9044 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.223, allocations: 23.98 kB / 0.9045 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.223, allocations: 3.984 kB / 0.9045 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.2232, allocations: 19.98 kB / 0.9045 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.2232, allocations: 0 / 0.9045 GB, free: 60.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.183e-05/0.2234, allocations: 113.8 kB / 0.9046 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.2234, allocations: 3.938 kB / 0.9046 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007207/0.2241, allocations: 149.1 kB / 0.9047 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2241, allocations: 0 / 0.9047 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2241, allocations: 0 / 0.9047 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.766e-05/0.2242, allocations: 89 kB / 0.9048 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.2243, allocations: 0 / 0.9048 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.2245, allocations: 24.3 kB / 0.9048 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.2245, allocations: 7.984 kB / 0.9048 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008063/0.2253, allocations: 224.9 kB / 0.9051 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009549/0.2263, allocations: 354.6 kB / 0.9054 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002845/0.2266, allocations: 51.98 kB / 0.9055 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.233e-05/0.2266, allocations: 79.34 kB / 0.9055 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of Backend: time 1.663e-06/0.2267, allocations: 0 / 0.9055 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000894/0.2276, allocations: 182.1 kB / 0.9057 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003582/0.2279, allocations: 0.5764 MB / 0.9063 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of Templates: time 0.005075/0.233, allocations: 1.612 MB / 0.9078 GB, free: 57.06 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)