Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.004265/0.004265, allocations: 99.86 kB / 15.73 MB, free: 6.055 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.001064/0.001064, allocations: 192.1 kB / 16.67 MB, free: 5.969 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.252/1.252, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002058, allocations: 288.6 kB / 290.8 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.9182/0.9182, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 99.84 kB / 0.6815 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4033, allocations: 86.97 MB / 0.7664 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00179/0.4051, allocations: 0.7742 MB / 0.7672 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.4067, allocations: 1.479 MB / 0.7686 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.4068, allocations: 0 / 0.7686 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.4068, allocations: 3.938 kB / 0.7686 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.867e-05/0.4068, allocations: 3.938 kB / 0.7686 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004583/0.4073, allocations: 143.5 kB / 0.7688 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.571e-05/0.4074, allocations: 55.69 kB / 0.7688 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.4075, allocations: 7.938 kB / 0.7688 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.914e-05/0.4075, allocations: 27.86 kB / 0.7689 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.4076, allocations: 39.83 kB / 0.7689 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.4076, allocations: 4 kB / 0.7689 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004238/0.4081, allocations: 315.4 kB / 0.7692 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.4081, allocations: 19.97 kB / 0.7692 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.4081, allocations: 19.86 kB / 0.7692 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.4084, allocations: 217.1 kB / 0.7695 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4084, allocations: 0 / 0.7695 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4084, allocations: 0 / 0.7695 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.4084, allocations: 0 / 0.7695 GB, free: 0.6836 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005809/0.409, allocations: 398.9 kB / 0.7698 GB, free: 252 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.4091, allocations: 8.031 kB / 0.7698 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004199/0.4095, allocations: 76.8 kB / 0.7699 GB, free: 168 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.4096, allocations: 176.2 kB / 0.7701 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.4096, allocations: 4.375 kB / 0.7701 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.4097, allocations: 16.33 kB / 0.7701 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.41, allocations: 105.9 kB / 0.7702 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.41, allocations: 0 / 0.7702 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.4101, allocations: 4 kB / 0.7702 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.4101, allocations: 4 kB / 0.7702 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/0.4105, allocations: 107.9 kB / 0.7703 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.4111, allocations: 340.6 kB / 0.7706 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006075/0.4117, allocations: 150.4 kB / 0.7708 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.4119, allocations: 60.81 kB / 0.7708 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.4119, allocations: 0 / 0.7708 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.412, allocations: 30.56 kB / 0.7709 GB, free: 15.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.412, allocations: 0 / 0.7709 GB, free: 15.07 MB / 0.545 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.01668/0.4286, allocations: 2.842 MB / 0.7736 GB, free: 12.13 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.4287, allocations: 55.34 kB / 0.7737 GB, free: 12.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.14e-05/0.4288, allocations: 97.84 kB / 0.7738 GB, free: 11.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.4288, allocations: 33.7 kB / 0.7738 GB, free: 11.92 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.4289, allocations: 80.14 kB / 0.7739 GB, free: 11.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.334e-05/0.4289, allocations: 51.56 kB / 0.774 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.4291, allocations: 69.58 kB / 0.774 GB, free: 11.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.045e-05/0.4292, allocations: 318.8 kB / 0.7743 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006423/0.4298, allocations: 204 kB / 0.7745 GB, free: 11.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006384/0.4305, allocations: 191.7 kB / 0.7747 GB, free: 11.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.4318, allocations: 390.4 kB / 0.7751 GB, free: 10.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4318, allocations: 0 / 0.7751 GB, free: 10.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001479/0.4333, allocations: 477.1 kB / 0.7755 GB, free: 10.15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.4333, allocations: 10.5 kB / 0.7755 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.4333, allocations: 0 / 0.7755 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.4333, allocations: 3.984 kB / 0.7755 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007526/0.4341, allocations: 107.8 kB / 0.7756 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4341, allocations: 7.938 kB / 0.7757 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005474/0.4346, allocations: 43.94 kB / 0.7757 GB, free: 9.984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/0.4347, allocations: 23.94 kB / 0.7757 GB, free: 9.961 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 (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.0001273/0.4348, allocations: 116.2 kB / 0.7758 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.95e-05/0.4349, allocations: 4 kB / 0.7758 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.799e-05/0.435, allocations: 23.95 kB / 0.7759 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.435, allocations: 0 / 0.7759 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.435, allocations: 3.938 kB / 0.7759 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.435, allocations: 0 / 0.7759 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.4371, allocations: 1.035 MB / 0.7769 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4371, allocations: 4 kB / 0.7769 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007548/0.4378, allocations: 111.7 kB / 0.777 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.4379, allocations: 3.938 kB / 0.777 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.244e-05/0.4379, allocations: 23.94 kB / 0.777 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/0.4379, allocations: 4 kB / 0.777 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4379, allocations: 4 kB / 0.777 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.4402, allocations: 0.7878 MB / 0.7778 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.4403, allocations: 117 kB / 0.7779 GB, free: 7.574 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.041e-05/0.4404, allocations: 8 kB / 0.7779 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000625/0.441, allocations: 47.94 kB / 0.7779 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.939e-05/0.4411, allocations: 27.92 kB / 0.778 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.872e-05/0.4412, allocations: 31.92 kB / 0.778 GB, free: 7.461 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.561e-05/0.4412, allocations: 87.39 kB / 0.7781 GB, free: 7.375 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4413, allocations: 0 / 0.7781 GB, free: 7.375 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003458/0.4416, allocations: 52 kB / 0.7781 GB, free: 7.324 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001822/0.4418, allocations: 115.2 kB / 0.7782 GB, free: 7.203 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0014/0.4432, allocations: 423.5 kB / 0.7787 GB, free: 6.789 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4432, allocations: 3.938 kB / 0.7787 GB, free: 6.785 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006928/0.4439, allocations: 220.1 kB / 0.7789 GB, free: 6.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.4442, allocations: 8.75 kB / 0.7789 GB, free: 6.562 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/0.4482, allocations: 0.7693 MB / 0.7796 GB, free: 5.766 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.4484, allocations: 0.7 MB / 0.7803 GB, free: 5.039 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005114/0.449, allocations: 92.66 kB / 0.7804 GB, free: 4.949 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.4492, allocations: 55.31 kB / 0.7804 GB, free: 4.895 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.4492, allocations: 3.938 kB / 0.7805 GB, free: 4.891 MB / 0.545 GB Notification: Performance of Templates: time 0.005513/0.4547, allocations: 3.466 MB / 0.7838 GB, free: 1.434 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)