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.001345/0.001345, allocations: 108.3 kB / 16.38 MB, free: 6.48 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.001198/0.001198, allocations: 192.8 kB / 17.32 MB, free: 5.801 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002067/0.002067, allocations: 286.8 kB / 291.5 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9023/0.9023, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 95.86 kB / 0.6821 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4451, allocations: 86.97 MB / 0.767 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00155/0.4467, allocations: 0.5941 MB / 0.7676 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.4483, allocations: 1.456 MB / 0.769 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.348e-05/0.4483, allocations: 0 / 0.769 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.4483, allocations: 0 / 0.769 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.254e-05/0.4483, allocations: 4 kB / 0.769 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.4488, allocations: 139.4 kB / 0.7692 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.339e-05/0.4489, allocations: 35.91 kB / 0.7692 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.4489, allocations: 3.984 kB / 0.7692 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.668e-05/0.449, allocations: 23.86 kB / 0.7692 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.574e-05/0.449, allocations: 23.97 kB / 0.7693 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.4491, allocations: 0 / 0.7693 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004214/0.4495, allocations: 319.3 kB / 0.7696 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.4495, allocations: 7.922 kB / 0.7696 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.437e-05/0.4495, allocations: 11.98 kB / 0.7696 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.4498, allocations: 191.6 kB / 0.7698 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4498, allocations: 0 / 0.7698 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4498, allocations: 0 / 0.7698 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.4498, allocations: 0 / 0.7698 GB, free: 1.047 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.0004827/0.4503, allocations: 367.1 kB / 0.7701 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.4504, allocations: 12.03 kB / 0.7701 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004352/0.4508, allocations: 64.84 kB / 0.7702 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.4509, allocations: 164.4 kB / 0.7704 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.4509, allocations: 8.359 kB / 0.7704 GB, free: 372 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.451, allocations: 384 / 0.7704 GB, free: 372 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.4512, allocations: 77.95 kB / 0.7704 GB, free: 288 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.4512, allocations: 7.922 kB / 0.7704 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.4512, allocations: 3.938 kB / 0.7704 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.4513, allocations: 4 kB / 0.7705 GB, free: 272 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.4515, allocations: 63.92 kB / 0.7705 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.4517, allocations: 161.7 kB / 0.7707 GB, free: 16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005722/0.4523, allocations: 118.5 kB / 0.7708 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.4525, allocations: 48.97 kB / 0.7708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004227/0.4529, allocations: 153 kB / 0.771 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.4529, allocations: 38.44 kB / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4529, allocations: 0 / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.001076/0.454, allocations: 412.7 kB / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.4541, allocations: 51.41 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.131e-05/0.4541, allocations: 97.84 kB / 0.7715 GB, free: 14.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.4541, allocations: 25.7 kB / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.658e-05/0.4542, allocations: 80.14 kB / 0.7716 GB, free: 14.87 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.4542, allocations: 19.75 kB / 0.7717 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.4542, allocations: 21.7 kB / 0.7717 GB, free: 14.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.14e-05/0.4543, allocations: 315 kB / 0.772 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.4545, allocations: 35.97 kB / 0.772 GB, free: 14.47 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.4547, allocations: 35.97 kB / 0.7721 GB, free: 14.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.4549, allocations: 72.8 kB / 0.7721 GB, free: 14.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.455, allocations: 4 kB / 0.7721 GB, free: 14.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003525/0.4553, allocations: 121.7 kB / 0.7722 GB, free: 14.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.4553, allocations: 4 kB / 0.7722 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.4553, allocations: 7.938 kB / 0.7723 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.4554, allocations: 4 kB / 0.7723 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.4555, allocations: 23.97 kB / 0.7723 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4555, allocations: 4 kB / 0.7723 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.308e-05/0.4556, allocations: 7.984 kB / 0.7723 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.4556, allocations: 8 kB / 0.7723 GB, free: 14.18 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 6.854e-05/0.4557, allocations: 109.8 kB / 0.7724 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.4557, allocations: 7.938 kB / 0.7724 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004294/0.4562, allocations: 133.1 kB / 0.7725 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.4562, allocations: 0 / 0.7725 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4562, allocations: 4 kB / 0.7725 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.4562, allocations: 3.938 kB / 0.7725 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.4563, allocations: 173.6 kB / 0.7727 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4563, allocations: 0 / 0.7727 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.4565, allocations: 27.91 kB / 0.7727 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4565, allocations: 0 / 0.7727 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.4565, allocations: 0 / 0.7727 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4565, allocations: 4 kB / 0.7727 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4565, allocations: 0 / 0.7727 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005389/0.4571, allocations: 192.9 kB / 0.7729 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.4571, allocations: 89.06 kB / 0.773 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.4572, allocations: 0 / 0.773 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.4573, allocations: 15.98 kB / 0.773 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.4573, allocations: 8.391 kB / 0.773 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.4573, allocations: 4 kB / 0.773 GB, free: 13.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.953e-05/0.4574, allocations: 79.27 kB / 0.7731 GB, free: 13.24 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4574, allocations: 0 / 0.7731 GB, free: 13.24 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002106/0.4576, allocations: 24 kB / 0.7731 GB, free: 13.21 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.0001793/0.4578, allocations: 135.2 kB / 0.7733 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003546/0.4581, allocations: 88.08 kB / 0.7733 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4581, allocations: 0 / 0.7733 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.4583, allocations: 43.97 kB / 0.7734 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.4584, allocations: 11.98 kB / 0.7734 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005667/0.459, allocations: 203.4 kB / 0.7736 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.4592, allocations: 0.6768 MB / 0.7743 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.4593, allocations: 19.42 kB / 0.7743 GB, free: 11.98 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.4593, allocations: 3.938 kB / 0.7743 GB, free: 11.97 MB / 0.545 GB Notification: Performance of Templates: time 0.002276/0.4616, allocations: 1.121 MB / 0.7754 GB, free: 10.86 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)