Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7594/0.7594, allocations: 143.4 MB / 159.2 MB, free: 4.883 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 180.5 kB / 191.9 MB, free: 5.703 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 447.3 MB, free: 5.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009327/0.0009327, allocations: 103.5 kB / 0.517 GB, free: 3.695 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001796/0.001796, allocations: 287.8 kB / 0.5973 GB, free: 49.34 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 79.88 kB / 0.6886 GB, free: 3.789 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3449, allocations: 81.3 MB / 0.768 GB, free: 27.62 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001677/0.3466, allocations: 0.6622 MB / 0.7686 GB, free: 26.97 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.348, allocations: 1.472 MB / 0.77 GB, free: 25.48 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.357e-05/0.3481, allocations: 0 / 0.77 GB, free: 25.48 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.3481, allocations: 3.938 kB / 0.77 GB, free: 25.48 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 2.493e-05/0.3481, allocations: 3.938 kB / 0.77 GB, free: 25.47 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.3485, allocations: 115.7 kB / 0.7702 GB, free: 25.36 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.177e-05/0.3486, allocations: 27.97 kB / 0.7702 GB, free: 25.33 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.3486, allocations: 0 / 0.7702 GB, free: 25.33 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.311e-05/0.3487, allocations: 19.98 kB / 0.7702 GB, free: 25.31 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.269e-05/0.3487, allocations: 23.91 kB / 0.7702 GB, free: 25.29 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.3488, allocations: 4 kB / 0.7702 GB, free: 25.29 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003382/0.3491, allocations: 311.3 kB / 0.7705 GB, free: 24.98 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.3491, allocations: 7.984 kB / 0.7705 GB, free: 24.97 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.3492, allocations: 15.92 kB / 0.7706 GB, free: 24.96 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.3494, allocations: 183.7 kB / 0.7707 GB, free: 24.78 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.3494, allocations: 0 / 0.7707 GB, free: 24.78 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3494, allocations: 0 / 0.7707 GB, free: 24.78 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.3494, allocations: 0 / 0.7707 GB, free: 24.78 MB / 458.7 MB 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.0004827/0.3499, allocations: 366.2 kB / 0.7711 GB, free: 24.38 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.35, allocations: 12.03 kB / 0.7711 GB, free: 24.36 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004319/0.3504, allocations: 68.75 kB / 0.7712 GB, free: 24.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.651e-05/0.3505, allocations: 168.4 kB / 0.7713 GB, free: 24.09 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.3505, allocations: 4.312 kB / 0.7713 GB, free: 24.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.3505, allocations: 4.375 kB / 0.7713 GB, free: 24.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.3508, allocations: 81.94 kB / 0.7714 GB, free: 24 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.485e-06/0.3508, allocations: 0 / 0.7714 GB, free: 24 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3508, allocations: 0 / 0.7714 GB, free: 24 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.3508, allocations: 4 kB / 0.7714 GB, free: 24 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/0.3511, allocations: 59.94 kB / 0.7715 GB, free: 23.94 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.3512, allocations: 165.6 kB / 0.7716 GB, free: 23.73 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005475/0.3518, allocations: 126.5 kB / 0.7717 GB, free: 23.59 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.352, allocations: 44.92 kB / 0.7718 GB, free: 23.55 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004027/0.3524, allocations: 161 kB / 0.7719 GB, free: 23.37 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.3524, allocations: 34.5 kB / 0.772 GB, free: 23.33 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.3524, allocations: 0 / 0.772 GB, free: 23.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=5): time 0.001051/0.3535, allocations: 406.1 kB / 0.7724 GB, free: 22.88 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.3535, allocations: 51.41 kB / 0.7724 GB, free: 22.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.088e-05/0.3535, allocations: 97.86 kB / 0.7725 GB, free: 22.71 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.3536, allocations: 25.7 kB / 0.7725 GB, free: 22.68 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.26e-05/0.3536, allocations: 84.27 kB / 0.7726 GB, free: 22.59 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.3536, allocations: 19.8 kB / 0.7726 GB, free: 22.57 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.3537, allocations: 13.72 kB / 0.7726 GB, free: 22.55 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.284e-05/0.3537, allocations: 318.8 kB / 0.7729 GB, free: 22.23 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.3539, allocations: 35.97 kB / 0.773 GB, free: 22.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.354, allocations: 36.16 kB / 0.773 GB, free: 22.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.3543, allocations: 84.73 kB / 0.7731 GB, free: 22.08 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3543, allocations: 3.938 kB / 0.7731 GB, free: 22.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003247/0.3546, allocations: 125.4 kB / 0.7732 GB, free: 21.95 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.3546, allocations: 4 kB / 0.7732 GB, free: 21.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3547, allocations: 0 / 0.7732 GB, free: 21.94 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3547, allocations: 0 / 0.7732 GB, free: 21.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.3548, allocations: 19.98 kB / 0.7732 GB, free: 21.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3548, allocations: 3.984 kB / 0.7732 GB, free: 21.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.135e-05/0.3549, allocations: 15.98 kB / 0.7733 GB, free: 21.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.3549, allocations: 4 kB / 0.7733 GB, free: 21.9 MB / 458.7 MB 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 5.075e-05/0.355, allocations: 113.8 kB / 0.7734 GB, free: 21.78 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.355, allocations: 7.938 kB / 0.7734 GB, free: 21.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004138/0.3554, allocations: 133.2 kB / 0.7735 GB, free: 21.64 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3555, allocations: 0 / 0.7735 GB, free: 21.64 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3555, allocations: 0 / 0.7735 GB, free: 21.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3555, allocations: 0 / 0.7735 GB, free: 21.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.794e-05/0.3556, allocations: 177.6 kB / 0.7737 GB, free: 21.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3556, allocations: 0 / 0.7737 GB, free: 21.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.3557, allocations: 23.92 kB / 0.7737 GB, free: 21.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3557, allocations: 4 kB / 0.7737 GB, free: 21.39 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3557, allocations: 3.984 kB / 0.7737 GB, free: 21.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3558, allocations: 4 kB / 0.7737 GB, free: 21.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3558, allocations: 4.062 kB / 0.7737 GB, free: 21.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003644/0.3594, allocations: 1.407 MB / 0.7751 GB, free: 19.83 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.3595, allocations: 89.03 kB / 0.7752 GB, free: 19.72 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.3595, allocations: 4 kB / 0.7752 GB, free: 19.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.3596, allocations: 12.36 kB / 0.7752 GB, free: 19.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.3596, allocations: 7.984 kB / 0.7752 GB, free: 19.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.3597, allocations: 0 / 0.7752 GB, free: 19.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.053e-05/0.3597, allocations: 83.34 kB / 0.7753 GB, free: 19.62 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3597, allocations: 0 / 0.7753 GB, free: 19.62 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002848/0.36, allocations: 31.98 kB / 0.7753 GB, free: 19.59 MB / 458.7 MB 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.000184/0.3602, allocations: 127.7 kB / 0.7754 GB, free: 19.45 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003854/0.3606, allocations: 87.95 kB / 0.7755 GB, free: 19.37 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3606, allocations: 0 / 0.7755 GB, free: 19.37 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.3607, allocations: 47.91 kB / 0.7756 GB, free: 19.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.3609, allocations: 9.688 kB / 0.7756 GB, free: 19.31 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005943/0.3615, allocations: 314 kB / 0.7759 GB, free: 18.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.376e-05/0.3616, allocations: 0.6809 MB / 0.7765 GB, free: 18.26 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.3617, allocations: 12 kB / 0.7765 GB, free: 18.25 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.3618, allocations: 11.44 kB / 0.7765 GB, free: 18.23 MB / 458.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3618, allocations: 0 / 0.7765 GB, free: 18.23 MB / 458.7 MB Notification: Performance of Templates: time 0.002982/0.3647, allocations: 1.161 MB / 0.7777 GB, free: 17.08 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)