Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8771/0.8771, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.793/1.793, allocations: 377.8 MB / 0.6221 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.981 GB, free: 1.387 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.952e-05, allocations: 5.234 kB / 0.981 GB, free: 1.383 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001378/0.001397, allocations: 0.7715 MB / 0.9818 GB, free: 0.6133 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.002702, allocations: 1.462 MB / 0.9832 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.002734, allocations: 0 / 0.9832 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.002759, allocations: 0 / 0.9832 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.536e-05/0.002795, allocations: 7.875 kB / 0.9832 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004066/0.003201, allocations: 143.4 kB / 0.9834 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.787e-05/0.003279, allocations: 51.89 kB / 0.9834 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.003319, allocations: 7.922 kB / 0.9834 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.792e-05/0.003397, allocations: 43.83 kB / 0.9835 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.49e-05/0.003442, allocations: 27.91 kB / 0.9835 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.003457, allocations: 4 kB / 0.9835 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002479/0.003704, allocations: 247.6 kB / 0.9837 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.003722, allocations: 15.92 kB / 0.9837 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.003745, allocations: 15.97 kB / 0.9837 GB, free: 14.58 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0004762/0.004221, allocations: 231.3 kB / 0.984 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.004223, allocations: 0 / 0.984 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.21e-07/0.004224, allocations: 0 / 0.984 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.004227, allocations: 0 / 0.984 GB, free: 14.35 MB / 0.9011 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.0004358/0.004663, allocations: 329.8 kB / 0.9843 GB, free: 14 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.004697, allocations: 12.03 kB / 0.9843 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.057e-05/0.004728, allocations: 38.75 kB / 0.9843 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/0.004956, allocations: 72.84 kB / 0.9844 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.434e-05/0.005031, allocations: 117.7 kB / 0.9845 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.005054, allocations: 4.312 kB / 0.9845 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.005074, allocations: 8.375 kB / 0.9845 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.005301, allocations: 161.6 kB / 0.9847 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.00531, allocations: 192 / 0.9847 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.005323, allocations: 8.125 kB / 0.9847 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.005327, allocations: 0 / 0.9847 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.005566, allocations: 99.89 kB / 0.9848 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.005962, allocations: 303.6 kB / 0.9851 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.006295, allocations: 158.4 kB / 0.9852 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.006409, allocations: 60.75 kB / 0.9853 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.006423, allocations: 4 kB / 0.9853 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.006444, allocations: 34.56 kB / 0.9853 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.006445, allocations: 0 / 0.9853 GB, free: 12.82 MB / 0.9011 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.008943/0.01539, allocations: 2.684 MB / 0.9879 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.01542, allocations: 55.41 kB / 0.988 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.623e-05/0.01547, allocations: 109.8 kB / 0.9881 GB, free: 9.898 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.01551, allocations: 29.7 kB / 0.9881 GB, free: 9.863 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.01555, allocations: 92.08 kB / 0.9882 GB, free: 9.77 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.0156, allocations: 35.69 kB / 0.9882 GB, free: 9.734 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.01571, allocations: 69.58 kB / 0.9883 GB, free: 9.66 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.01578, allocations: 322.8 kB / 0.9886 GB, free: 9.336 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.01615, allocations: 183.8 kB / 0.9888 GB, free: 9.156 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/0.01651, allocations: 203.9 kB / 0.989 GB, free: 8.957 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007409/0.01725, allocations: 390.3 kB / 0.9894 GB, free: 8.574 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.01726, allocations: 0 / 0.9894 GB, free: 8.574 MB / 0.9011 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008667/0.01812, allocations: 481.1 kB / 0.9898 GB, free: 8.098 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.01814, allocations: 4 kB / 0.9898 GB, free: 8.094 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.01814, allocations: 0 / 0.9898 GB, free: 8.094 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.01815, allocations: 4 kB / 0.9898 GB, free: 8.09 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.01854, allocations: 103.8 kB / 0.9899 GB, free: 7.988 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.01854, allocations: 0 / 0.9899 GB, free: 7.988 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.01881, allocations: 51.88 kB / 0.99 GB, free: 7.938 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.01885, allocations: 23.92 kB / 0.99 GB, free: 7.914 MB / 0.9011 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.0001055/0.01895, allocations: 121.8 kB / 0.9901 GB, free: 7.785 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.019, allocations: 7.953 kB / 0.9901 GB, free: 7.777 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.01904, allocations: 12.12 kB / 0.9901 GB, free: 7.766 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.01904, allocations: 4 kB / 0.9901 GB, free: 7.762 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.01904, allocations: 0 / 0.9901 GB, free: 7.762 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.01905, allocations: 3.984 kB / 0.9901 GB, free: 7.758 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.02067, allocations: 0.9877 MB / 0.9911 GB, free: 6.668 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.02067, allocations: 0 / 0.9911 GB, free: 6.668 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003881/0.02106, allocations: 107.7 kB / 0.9912 GB, free: 6.562 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.02107, allocations: 0 / 0.9912 GB, free: 6.562 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/0.0211, allocations: 35.92 kB / 0.9912 GB, free: 6.527 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.0211, allocations: 3.938 kB / 0.9912 GB, free: 6.523 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.02111, allocations: 4 kB / 0.9913 GB, free: 6.52 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.02246, allocations: 0.7842 MB / 0.992 GB, free: 5.719 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.02256, allocations: 47.81 kB / 0.9921 GB, free: 5.672 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.02259, allocations: 4.062 kB / 0.9921 GB, free: 5.668 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003039/0.0229, allocations: 51.88 kB / 0.9921 GB, free: 5.617 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/0.02296, allocations: 27.92 kB / 0.9921 GB, free: 5.59 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.023, allocations: 19.94 kB / 0.9922 GB, free: 5.57 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.915e-05/0.02303, allocations: 91.27 kB / 0.9922 GB, free: 5.48 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9e-08/0.02303, allocations: 0 / 0.9922 GB, free: 5.48 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002611/0.02329, allocations: 55.94 kB / 0.9923 GB, free: 5.426 MB / 0.9011 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.001534/0.02482, allocations: 1.341 MB / 0.9936 GB, free: 4.059 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008034/0.02563, allocations: 417.8 kB / 0.994 GB, free: 3.652 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.02563, allocations: 0 / 0.994 GB, free: 3.652 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003833/0.02601, allocations: 215.7 kB / 0.9942 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.02628, allocations: 25.06 kB / 0.9942 GB, free: 3.418 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004677/0.03096, allocations: 2.933 MB / 0.9971 GB, free: 408 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.545e-05/0.03101, allocations: 75.33 kB / 0.9972 GB, free: 312 kB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003086/0.03132, allocations: 88.73 kB / 0.9973 GB, free: 224 kB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.03153, allocations: 64.36 kB / 0.9973 GB, free: 160 kB / 0.9011 GB Notification: Performance of SimCode: time 5.31e-07/0.03153, allocations: 0 / 0.9973 GB, free: 160 kB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.0485, allocations: 5.483 MB / 1.003 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.066/7.115, allocations: 4 kB / 1.003 GB, free: 10.82 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 11.076150494627655] Failed to read output from testmodel.py, exit status != 0: 7.198863763362169 7.211425246 7.205383257 Calling exit ...