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: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 113.5 kB / 16.38 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 190.8 kB / 17.31 MB, free: 5.621 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.273/1.273, allocations: 205.1 MB / 223.2 MB, free: 12.13 MB / 190.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.716/1.716, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.001374/0.001374, allocations: 67.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2176, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002102/0.2198, allocations: 0.7941 MB / 0.7856 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.2214, allocations: 1.506 MB / 0.7871 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.691e-05/0.2215, allocations: 0 / 0.7871 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.2215, allocations: 3.938 kB / 0.7871 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.678e-05/0.2215, allocations: 3.938 kB / 0.7871 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.222, allocations: 155.4 kB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.838e-05/0.2221, allocations: 43.91 kB / 0.7873 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.2222, allocations: 11.98 kB / 0.7873 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.83e-05/0.2222, allocations: 23.92 kB / 0.7873 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.96e-05/0.2223, allocations: 39.83 kB / 0.7873 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.2223, allocations: 4 kB / 0.7873 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004055/0.2227, allocations: 319.3 kB / 0.7876 GB, free: 260 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/0.2228, allocations: 11.98 kB / 0.7876 GB, free: 248 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.2228, allocations: 27.86 kB / 0.7877 GB, free: 220 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.2231, allocations: 219.5 kB / 0.7879 GB, free: 0 / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2231, allocations: 0 / 0.7879 GB, free: 0 / 0.6544 GB Notification: Performance of FrontEnd: time 5.219e-06/0.5548, allocations: 112 / 0.7879 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.5548, allocations: 0.75 kB / 0.7879 GB, free: 46.91 MB / 0.6544 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.0006259/0.5554, allocations: 391.6 kB / 0.7883 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.5555, allocations: 9.719 kB / 0.7883 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004356/0.5559, allocations: 72.36 kB / 0.7883 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.262e-05/0.556, allocations: 169.6 kB / 0.7885 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.556, allocations: 9.188 kB / 0.7885 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.5561, allocations: 6.469 kB / 0.7885 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.5564, allocations: 109.6 kB / 0.7886 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.5564, allocations: 9.156 kB / 0.7886 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.5565, allocations: 2.562 kB / 0.7886 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.5565, allocations: 0 / 0.7886 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/0.5569, allocations: 106 kB / 0.7887 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004834/0.5574, allocations: 333.1 kB / 0.789 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005695/0.558, allocations: 155.9 kB / 0.7892 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.5582, allocations: 62.56 kB / 0.7893 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.5582, allocations: 1.797 kB / 0.7893 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.5582, allocations: 33.03 kB / 0.7893 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.5583, allocations: 0.5 kB / 0.7893 GB, free: 45.98 MB / 0.6544 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.01633/0.5746, allocations: 2.833 MB / 0.7921 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.834e-05/0.5746, allocations: 54.91 kB / 0.7921 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.479e-05/0.5747, allocations: 105 kB / 0.7922 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.5747, allocations: 29.14 kB / 0.7922 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.694e-05/0.5748, allocations: 91.98 kB / 0.7923 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/0.5748, allocations: 39.2 kB / 0.7924 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.575, allocations: 69.83 kB / 0.7924 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.95e-05/0.575, allocations: 318.2 kB / 0.7927 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005878/0.5756, allocations: 190.4 kB / 0.7929 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005859/0.5762, allocations: 196.2 kB / 0.7931 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.5774, allocations: 396.1 kB / 0.7935 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.5774, allocations: 0 / 0.7935 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001377/0.5788, allocations: 483.1 kB / 0.7939 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.5788, allocations: 3.438 kB / 0.7939 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.5788, allocations: 2.766 kB / 0.7939 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.5788, allocations: 3.438 kB / 0.7939 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007621/0.5796, allocations: 104.4 kB / 0.794 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.5796, allocations: 5.469 kB / 0.7941 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005688/0.5802, allocations: 42.17 kB / 0.7941 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.175e-05/0.5803, allocations: 27.67 kB / 0.7941 GB, free: 44.76 MB / 0.6544 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.000104/0.5804, allocations: 123.5 kB / 0.7942 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.181e-05/0.5805, allocations: 5.344 kB / 0.7942 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/0.5805, allocations: 10.89 kB / 0.7943 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.5805, allocations: 0 / 0.7943 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5805, allocations: 0 / 0.7943 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.5807, allocations: 125.6 kB / 0.7944 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/0.5807, allocations: 5 kB / 0.7944 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006305/0.5814, allocations: 48.19 kB / 0.7944 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/0.5814, allocations: 25.36 kB / 0.7944 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002001/0.5835, allocations: 0.6014 MB / 0.795 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002082/0.5855, allocations: 0.8675 MB / 0.7959 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006046/0.5862, allocations: 201.7 kB / 0.7961 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.958e-05/0.5862, allocations: 82.11 kB / 0.7962 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of Backend: time 4.71e-07/0.5862, allocations: 0.9844 kB / 0.7962 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00118/0.5874, allocations: 358.5 kB / 0.7965 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004755/0.5879, allocations: 0.639 MB / 0.7971 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of Templates: time 0.01189/0.5998, allocations: 6.928 MB / 0.8039 GB, free: 43.16 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (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 & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)