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.001328/0.001328, allocations: 103.5 kB / 16.41 MB, free: 6.508 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.001364/0.001364, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002139/0.002139, allocations: 295.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9141/0.9141, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 95.84 kB / 0.6822 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.4645, allocations: 86.97 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001582/0.4661, allocations: 0.597 MB / 0.7677 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.4678, allocations: 1.46 MB / 0.7691 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.4678, allocations: 0 / 0.7691 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.399e-05/0.4679, allocations: 0 / 0.7691 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.883e-05/0.4679, allocations: 7.938 kB / 0.7691 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.4684, allocations: 131.5 kB / 0.7692 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.971e-05/0.4684, allocations: 31.91 kB / 0.7693 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.4685, allocations: 4 kB / 0.7693 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.619e-05/0.4685, allocations: 19.92 kB / 0.7693 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.379e-05/0.4686, allocations: 23.95 kB / 0.7693 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.4686, allocations: 4 kB / 0.7693 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004287/0.4691, allocations: 311.4 kB / 0.7696 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.4691, allocations: 15.97 kB / 0.7696 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.4691, allocations: 7.922 kB / 0.7696 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.4694, allocations: 195.6 kB / 0.7698 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.4695, allocations: 0 / 0.7698 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.317e-06/0.4695, allocations: 4 kB / 0.7698 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.4695, allocations: 0 / 0.7698 GB, free: 1.109 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.0005429/0.47, allocations: 367.1 kB / 0.7702 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.4701, allocations: 8.031 kB / 0.7702 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004632/0.4705, allocations: 72.84 kB / 0.7703 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.4706, allocations: 160.4 kB / 0.7704 GB, free: 444 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.4707, allocations: 384 / 0.7704 GB, free: 444 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.4707, allocations: 4.375 kB / 0.7704 GB, free: 440 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.471, allocations: 85.88 kB / 0.7705 GB, free: 348 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.471, allocations: 0 / 0.7705 GB, free: 348 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.471, allocations: 0 / 0.7705 GB, free: 348 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.471, allocations: 0 / 0.7705 GB, free: 348 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002815/0.4713, allocations: 67.92 kB / 0.7706 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.4715, allocations: 161.7 kB / 0.7707 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005913/0.4721, allocations: 118.6 kB / 0.7708 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.4722, allocations: 56.83 kB / 0.7709 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004428/0.4727, allocations: 149 kB / 0.771 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.4727, allocations: 38.5 kB / 0.7711 GB, free: 15.67 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4727, allocations: 3.938 kB / 0.7711 GB, free: 15.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.001133/0.4739, allocations: 416.7 kB / 0.7715 GB, free: 15.21 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.4739, allocations: 51.41 kB / 0.7715 GB, free: 15.15 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.999e-05/0.474, allocations: 93.84 kB / 0.7716 GB, free: 15.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.474, allocations: 29.7 kB / 0.7716 GB, free: 15.01 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.467e-05/0.4741, allocations: 84.14 kB / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.4741, allocations: 11.75 kB / 0.7717 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.4741, allocations: 25.7 kB / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.4743, allocations: 315 kB / 0.772 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.4744, allocations: 31.97 kB / 0.7721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.4746, allocations: 39.97 kB / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.4749, allocations: 76.73 kB / 0.7722 GB, free: 14.42 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4749, allocations: 4 kB / 0.7722 GB, free: 14.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003393/0.4752, allocations: 113.5 kB / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.4752, allocations: 8 kB / 0.7723 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4753, allocations: 4 kB / 0.7723 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.4753, allocations: 0 / 0.7723 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.4754, allocations: 27.97 kB / 0.7723 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.4754, allocations: 0 / 0.7723 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.559e-05/0.4755, allocations: 11.98 kB / 0.7723 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.4755, allocations: 4 kB / 0.7723 GB, free: 14.24 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.206e-05/0.4756, allocations: 109.8 kB / 0.7725 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/0.4756, allocations: 7.875 kB / 0.7725 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004395/0.4761, allocations: 141.1 kB / 0.7726 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4761, allocations: 0 / 0.7726 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4761, allocations: 4 kB / 0.7726 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.4761, allocations: 0 / 0.7726 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.4762, allocations: 166 kB / 0.7728 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.4763, allocations: 4 kB / 0.7728 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.4764, allocations: 31.91 kB / 0.7728 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4764, allocations: 0 / 0.7728 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.4764, allocations: 4 kB / 0.7728 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4764, allocations: 0 / 0.7728 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.4764, allocations: 0 / 0.7728 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005406/0.477, allocations: 192.8 kB / 0.773 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/0.4771, allocations: 89.06 kB / 0.7731 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.4771, allocations: 7.984 kB / 0.7731 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.4772, allocations: 11.98 kB / 0.7731 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.4772, allocations: 8.062 kB / 0.7731 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.4773, allocations: 0 / 0.7731 GB, free: 13.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.109e-05/0.4773, allocations: 79.28 kB / 0.7732 GB, free: 13.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4773, allocations: 0 / 0.7732 GB, free: 13.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002195/0.4775, allocations: 31.98 kB / 0.7732 GB, free: 13.27 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.0001982/0.4777, allocations: 123.2 kB / 0.7733 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003672/0.4781, allocations: 87.95 kB / 0.7734 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4781, allocations: 0 / 0.7734 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.4783, allocations: 43.97 kB / 0.7734 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.4784, allocations: 8.938 kB / 0.7734 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005942/0.479, allocations: 195.4 kB / 0.7736 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.4793, allocations: 0.6835 MB / 0.7743 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.964e-05/0.4793, allocations: 11.44 kB / 0.7743 GB, free: 12.06 MB / 0.545 GB Notification: Performance of SimCode: time 1.382e-06/0.4793, allocations: 0 / 0.7743 GB, free: 12.06 MB / 0.545 GB Notification: Performance of Templates: time 0.002489/0.4818, allocations: 1.132 MB / 0.7754 GB, free: 10.93 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)