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.001655/0.001655, allocations: 106.5 kB / 16.41 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.001863/0.001863, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.449/1.449, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002546/0.002546, allocations: 296.5 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 1.01/1.01, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002829/0.002829, allocations: 107.8 kB / 0.6822 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4263, allocations: 86.97 MB / 0.7671 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001685/0.4279, allocations: 0.5941 MB / 0.7677 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001998/0.4299, allocations: 1.46 MB / 0.7691 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.728e-05/0.43, allocations: 0 / 0.7691 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.319e-05/0.43, allocations: 0 / 0.7691 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.117e-05/0.43, allocations: 0 / 0.7691 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005202/0.4305, allocations: 143.4 kB / 0.7692 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.011e-05/0.4306, allocations: 27.97 kB / 0.7693 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.4307, allocations: 4 kB / 0.7693 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.45e-05/0.4307, allocations: 23.86 kB / 0.7693 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.027e-05/0.4308, allocations: 23.89 kB / 0.7693 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.4308, allocations: 4 kB / 0.7693 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004723/0.4313, allocations: 311.4 kB / 0.7696 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.4313, allocations: 15.98 kB / 0.7696 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.53e-05/0.4313, allocations: 11.92 kB / 0.7697 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.4316, allocations: 189.2 kB / 0.7698 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.4316, allocations: 4 kB / 0.7698 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4316, allocations: 4 kB / 0.7698 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.4316, allocations: 0 / 0.7698 GB, free: 0.9727 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.0005851/0.4322, allocations: 371 kB / 0.7702 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4323, allocations: 8.031 kB / 0.7702 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004853/0.4328, allocations: 72.84 kB / 0.7703 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.4329, allocations: 164.4 kB / 0.7704 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.4329, allocations: 4.375 kB / 0.7704 GB, free: 288 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.433, allocations: 384 / 0.7704 GB, free: 288 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.4332, allocations: 77.94 kB / 0.7705 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.4332, allocations: 0 / 0.7705 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.4333, allocations: 7.938 kB / 0.7705 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.4333, allocations: 4 kB / 0.7705 GB, free: 192 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.4336, allocations: 59.94 kB / 0.7706 GB, free: 132 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.4338, allocations: 165.7 kB / 0.7707 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006155/0.4344, allocations: 118.6 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.4346, allocations: 40.92 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004805/0.4351, allocations: 157 kB / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.4351, allocations: 42.42 kB / 0.7711 GB, free: 15.53 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.4351, allocations: 0 / 0.7711 GB, free: 15.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.001222/0.4363, allocations: 406.1 kB / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.4364, allocations: 55.41 kB / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.859e-05/0.4364, allocations: 93.86 kB / 0.7716 GB, free: 14.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.4365, allocations: 29.7 kB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.338e-05/0.4365, allocations: 88.12 kB / 0.7717 GB, free: 14.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.4365, allocations: 19.78 kB / 0.7717 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.4366, allocations: 21.72 kB / 0.7718 GB, free: 14.74 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4367, allocations: 314.8 kB / 0.7721 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.4369, allocations: 40.08 kB / 0.7721 GB, free: 14.38 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.4371, allocations: 31.97 kB / 0.7721 GB, free: 14.35 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.4374, allocations: 76.8 kB / 0.7722 GB, free: 14.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4374, allocations: 0 / 0.7722 GB, free: 14.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003935/0.4378, allocations: 117.5 kB / 0.7723 GB, free: 14.15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.4378, allocations: 11.98 kB / 0.7723 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4378, allocations: 3.938 kB / 0.7723 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.4378, allocations: 336 / 0.7723 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.438, allocations: 23.98 kB / 0.7723 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.438, allocations: 0 / 0.7723 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.4381, allocations: 12.23 kB / 0.7724 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.4381, allocations: 4 kB / 0.7724 GB, free: 14.1 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 0.000106/0.4382, allocations: 121.1 kB / 0.7725 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.4382, allocations: 11.88 kB / 0.7725 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000478/0.4387, allocations: 137.1 kB / 0.7726 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4387, allocations: 4 kB / 0.7726 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.4387, allocations: 0 / 0.7726 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4387, allocations: 0 / 0.7726 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.4389, allocations: 161.7 kB / 0.7728 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4389, allocations: 0 / 0.7728 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.4391, allocations: 31.92 kB / 0.7728 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.4391, allocations: 4 kB / 0.7728 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.4391, allocations: 0 / 0.7728 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4391, allocations: 0 / 0.7728 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4391, allocations: 0 / 0.7728 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006561/0.4398, allocations: 185 kB / 0.773 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.4399, allocations: 97.06 kB / 0.7731 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.4399, allocations: 4 kB / 0.7731 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.4401, allocations: 11.98 kB / 0.7731 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.4401, allocations: 3.984 kB / 0.7731 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.4401, allocations: 4 kB / 0.7731 GB, free: 13.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.098e-05/0.4402, allocations: 75.28 kB / 0.7732 GB, free: 13.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4402, allocations: 4 kB / 0.7732 GB, free: 13.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002845/0.4404, allocations: 35.97 kB / 0.7732 GB, free: 13.12 MB / 0.545 GB 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.0003147/0.4408, allocations: 131.1 kB / 0.7733 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004369/0.4412, allocations: 79.94 kB / 0.7734 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4412, allocations: 3.938 kB / 0.7734 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.4414, allocations: 39.95 kB / 0.7735 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.4415, allocations: 12.88 kB / 0.7735 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007029/0.4422, allocations: 185.4 kB / 0.7736 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.4426, allocations: 0.6807 MB / 0.7743 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.909e-05/0.4427, allocations: 23.84 kB / 0.7743 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.4427, allocations: 11.44 kB / 0.7743 GB, free: 11.9 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.4427, allocations: 0 / 0.7743 GB, free: 11.9 MB / 0.545 GB Notification: Performance of Templates: time 0.004129/0.4469, allocations: 1.163 MB / 0.7755 GB, free: 10.75 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)