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/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 112 kB / 16.42 MB, free: 6.5 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.001143/0.001143, allocations: 187.9 kB / 17.35 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001998/0.001998, allocations: 291.4 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8837/0.8837, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 91.86 kB / 0.6822 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3565, allocations: 86.99 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001715/0.3583, allocations: 0.5902 MB / 0.7677 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.3601, allocations: 1.46 MB / 0.7691 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.981e-05/0.3601, allocations: 0 / 0.7691 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.137e-05/0.3601, allocations: 0 / 0.7691 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.836e-05/0.3602, allocations: 0 / 0.7691 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004885/0.3607, allocations: 143.5 kB / 0.7692 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.612e-05/0.3608, allocations: 31.95 kB / 0.7693 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.573e-05/0.3608, allocations: 0 / 0.7693 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.249e-05/0.3609, allocations: 15.92 kB / 0.7693 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.867e-05/0.361, allocations: 23.97 kB / 0.7693 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.361, allocations: 3.938 kB / 0.7693 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004647/0.3614, allocations: 323.3 kB / 0.7696 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.3615, allocations: 7.984 kB / 0.7696 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.3615, allocations: 11.92 kB / 0.7696 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002941/0.3618, allocations: 191.6 kB / 0.7698 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3618, allocations: 4 kB / 0.7698 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3618, allocations: 0 / 0.7698 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3618, allocations: 0 / 0.7698 GB, free: 1.078 MB / 0.5294 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.0004987/0.3623, allocations: 367.1 kB / 0.7702 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3624, allocations: 8.031 kB / 0.7702 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004521/0.3628, allocations: 68.84 kB / 0.7703 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.3629, allocations: 160.4 kB / 0.7704 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.363, allocations: 4.375 kB / 0.7704 GB, free: 412 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.363, allocations: 4.359 kB / 0.7704 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.3633, allocations: 77.95 kB / 0.7705 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.3633, allocations: 0 / 0.7705 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.3633, allocations: 4 kB / 0.7705 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3633, allocations: 0 / 0.7705 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.3636, allocations: 67.86 kB / 0.7706 GB, free: 252 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.3638, allocations: 161.7 kB / 0.7707 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005827/0.3644, allocations: 122.6 kB / 0.7708 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.3645, allocations: 44.91 kB / 0.7709 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004384/0.365, allocations: 161 kB / 0.771 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.365, allocations: 42.5 kB / 0.7711 GB, free: 15.64 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 3.837e-06/0.365, allocations: 0 / 0.7711 GB, free: 15.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.001118/0.3661, allocations: 412.6 kB / 0.7715 GB, free: 15.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.3662, allocations: 51.41 kB / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.762e-05/0.3662, allocations: 97.84 kB / 0.7716 GB, free: 15.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.3663, allocations: 29.7 kB / 0.7716 GB, free: 14.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.359e-05/0.3663, allocations: 84.27 kB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.3663, allocations: 11.75 kB / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.3664, allocations: 25.7 kB / 0.7717 GB, free: 14.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.99e-05/0.3665, allocations: 314.8 kB / 0.772 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.3666, allocations: 31.97 kB / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.3668, allocations: 35.97 kB / 0.7721 GB, free: 14.47 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.3671, allocations: 80.8 kB / 0.7722 GB, free: 14.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3671, allocations: 0 / 0.7722 GB, free: 14.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003552/0.3675, allocations: 121.5 kB / 0.7723 GB, free: 14.26 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3675, allocations: 7.938 kB / 0.7723 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3675, allocations: 0 / 0.7723 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.3675, allocations: 0 / 0.7723 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.3677, allocations: 27.91 kB / 0.7723 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3677, allocations: 0 / 0.7723 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.3678, allocations: 15.98 kB / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.3678, allocations: 4 kB / 0.7724 GB, free: 14.21 MB / 0.545 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 7.355e-05/0.3679, allocations: 108.2 kB / 0.7725 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.3679, allocations: 12.27 kB / 0.7725 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004328/0.3684, allocations: 137.1 kB / 0.7726 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3684, allocations: 0 / 0.7726 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3684, allocations: 4.297 kB / 0.7726 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.797e-05/0.3684, allocations: 85.09 kB / 0.7727 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.3685, allocations: 4 kB / 0.7727 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.3686, allocations: 11.98 kB / 0.7727 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.3686, allocations: 11.98 kB / 0.7727 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004864/0.3691, allocations: 208.8 kB / 0.7729 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005956/0.3697, allocations: 330.6 kB / 0.7732 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001701/0.3699, allocations: 48.05 kB / 0.7733 GB, free: 13.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.852e-05/0.3699, allocations: 79.28 kB / 0.7734 GB, free: 13.13 MB / 0.545 GB Notification: Performance of Backend: time 2.5e-07/0.3699, allocations: 0 / 0.7734 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005908/0.3705, allocations: 166.3 kB / 0.7735 GB, free: 12.96 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003849/0.3709, allocations: 0.5653 MB / 0.7741 GB, free: 12.35 MB / 0.545 GB Notification: Performance of Templates: time 0.00378/0.3747, allocations: 1.7 MB / 0.7757 GB, free: 10.66 MB / 0.545 GB 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)