Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.567/2.567, allocations: 287.3 MB / 302.3 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001714/0.001714, allocations: 178.7 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.223/2.223, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00134/0.00134, allocations: 102.6 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006767/0.0006768, allocations: 14.02 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2183, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9976/1.216, allocations: 139.4 MB / 1.114 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/1.216, allocations: 92.72 kB / 1.115 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02738/1.244, allocations: 5.46 MB / 1.12 GB, free: 31.15 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/1.244, allocations: 0 / 1.12 GB, free: 31.15 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.058e-05/1.244, allocations: 7.969 kB / 1.12 GB, free: 31.15 MB / 0.698 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.0007802/1.245, allocations: 397.7 kB / 1.12 GB, free: 30.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/1.245, allocations: 15.5 kB / 1.12 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.79e-05/1.245, allocations: 39.81 kB / 1.12 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005992/1.245, allocations: 64.11 kB / 1.12 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/1.245, allocations: 178.6 kB / 1.121 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/1.245, allocations: 3.844 kB / 1.121 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/1.246, allocations: 14.67 kB / 1.121 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005736/1.246, allocations: 107.2 kB / 1.121 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/1.246, allocations: 7.844 kB / 1.121 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/1.246, allocations: 5.984 kB / 1.121 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.246, allocations: 3.938 kB / 1.121 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008505/1.247, allocations: 124.8 kB / 1.121 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007625/1.248, allocations: 342 kB / 1.121 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/1.249, allocations: 187.2 kB / 1.121 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/1.249, allocations: 0 / 1.121 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/1.249, allocations: 42.5 kB / 1.121 GB, free: 30.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/1.249, allocations: 0 / 1.121 GB, free: 30.08 MB / 0.698 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.03633/1.285, allocations: 3.187 MB / 1.124 GB, free: 29.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/1.286, allocations: 51.41 kB / 1.124 GB, free: 29.44 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.038e-05/1.286, allocations: 98.73 kB / 1.125 GB, free: 29.35 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-05/1.286, allocations: 28.7 kB / 1.125 GB, free: 29.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/1.286, allocations: 84.05 kB / 1.125 GB, free: 29.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.295e-05/1.286, allocations: 36.08 kB / 1.125 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.161e-05/1.286, allocations: 7.219 kB / 1.125 GB, free: 29.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.286, allocations: 313 kB / 1.125 GB, free: 28.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/1.287, allocations: 221.1 kB / 1.125 GB, free: 28.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/1.289, allocations: 215.2 kB / 1.125 GB, free: 28.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/1.29, allocations: 215.9 kB / 1.126 GB, free: 28.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/1.29, allocations: 4 kB / 1.126 GB, free: 28.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002769/1.293, allocations: 0.5193 MB / 1.126 GB, free: 28.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/1.293, allocations: 11.67 kB / 1.126 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.293, allocations: 4 kB / 1.126 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/1.293, allocations: 3.047 kB / 1.126 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.294, allocations: 117.6 kB / 1.126 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/1.294, allocations: 320 / 1.126 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/1.296, allocations: 62.66 kB / 1.126 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.066e-05/1.296, allocations: 22.28 kB / 1.126 GB, free: 28.8 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002371/1.296, allocations: 117.6 kB / 1.126 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/1.296, allocations: 3.844 kB / 1.126 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.822e-05/1.296, allocations: 18.05 kB / 1.126 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/1.296, allocations: 3.75 kB / 1.126 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/1.296, allocations: 4 kB / 1.126 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.296, allocations: 0 / 1.126 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003664/1.3, allocations: 1.098 MB / 1.128 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/1.3, allocations: 0 / 1.128 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/1.302, allocations: 124.9 kB / 1.128 GB, free: 28.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/1.302, allocations: 3.984 kB / 1.128 GB, free: 28.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-05/1.302, allocations: 28.73 kB / 1.128 GB, free: 28.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/1.302, allocations: 7.922 kB / 1.128 GB, free: 28.08 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.302, allocations: 0 / 1.128 GB, free: 28.08 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004217/1.306, allocations: 0.8627 MB / 1.129 GB, free: 27.92 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/1.306, allocations: 117.9 kB / 1.129 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/1.306, allocations: 7.75 kB / 1.129 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/1.308, allocations: 59.11 kB / 1.129 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/1.308, allocations: 24.7 kB / 1.129 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.883e-05/1.308, allocations: 31.42 kB / 1.129 GB, free: 27.81 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.666e-05/1.308, allocations: 86.08 kB / 1.129 GB, free: 27.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.308, allocations: 0 / 1.129 GB, free: 27.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005971/1.309, allocations: 58.31 kB / 1.129 GB, free: 27.73 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004668/1.313, allocations: 1.421 MB / 1.13 GB, free: 27.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002564/1.316, allocations: 472.8 kB / 1.131 GB, free: 27.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/1.316, allocations: 0 / 1.131 GB, free: 27.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/1.317, allocations: 251 kB / 1.131 GB, free: 27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/1.318, allocations: 4.094 kB / 1.131 GB, free: 27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/1.33, allocations: 1.871 MB / 1.133 GB, free: 26.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/1.33, allocations: 0.692 MB / 1.134 GB, free: 25.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001152/1.331, allocations: 91.56 kB / 1.134 GB, free: 25.54 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004567/1.332, allocations: 66.67 kB / 1.134 GB, free: 25.5 MB / 0.698 GB Notification: Performance of SimCode: time 8.82e-07/1.332, allocations: 0 / 1.134 GB, free: 25.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/1.356, allocations: 4.149 MB / 1.138 GB, free: 23.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/1.356, allocations: 206.2 kB / 1.138 GB, free: 23.16 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.788/4.144, allocations: 0 / 1.138 GB, free: 23.16 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)