Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.0008484/0.0008484, 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.0008632/0.0008632, 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.8627/0.8627, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.661/1.661, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.InverseXDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.9505 GB, free: 3.461 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.964e-05, allocations: 5.234 kB / 0.9506 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001613/0.001633, allocations: 0.6072 MB / 0.9511 GB, free: 2.844 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00185/0.003482, allocations: 1.428 MB / 0.9525 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.944e-05/0.003512, allocations: 0 / 0.9525 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.003529, allocations: 4 kB / 0.9525 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.992e-05/0.003559, allocations: 4 kB / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/0.004143, allocations: 141.3 kB / 0.9527 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.082e-05/0.004234, allocations: 35.89 kB / 0.9527 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.004283, allocations: 12 kB / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.432e-05/0.004347, allocations: 15.98 kB / 0.9527 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.561e-05/0.004433, allocations: 23.95 kB / 0.9528 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.004452, allocations: 0 / 0.9528 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003664/0.004818, allocations: 251.5 kB / 0.953 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.004835, allocations: 3.984 kB / 0.953 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.16e-05/0.004856, allocations: 11.98 kB / 0.953 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.005074, allocations: 199.5 kB / 0.9532 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.005075, allocations: 0 / 0.9532 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.082e-06/0.005077, allocations: 3.938 kB / 0.9532 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.005081, allocations: 0 / 0.9532 GB, free: 0.707 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003686/0.005449, allocations: 301.8 kB / 0.9535 GB, free: 392 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.005486, allocations: 12.03 kB / 0.9535 GB, free: 380 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.823e-05/0.005515, allocations: 30.75 kB / 0.9535 GB, free: 340 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.005765, allocations: 72.84 kB / 0.9536 GB, free: 268 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.099e-05/0.005836, allocations: 101.8 kB / 0.9537 GB, free: 140 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.005856, allocations: 4.359 kB / 0.9537 GB, free: 136 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.005875, allocations: 4.375 kB / 0.9537 GB, free: 132 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.006041, allocations: 107.8 kB / 0.9538 GB, free: 12 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.006048, allocations: 192 / 0.9538 GB, free: 12 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.006058, allocations: 4.125 kB / 0.9538 GB, free: 8 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.006062, allocations: 0 / 0.9538 GB, free: 8 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.006222, allocations: 67.92 kB / 0.9539 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.006353, allocations: 132.7 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.006685, allocations: 118.6 kB / 0.9541 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.757e-05/0.006772, allocations: 48.86 kB / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002222/0.006995, allocations: 75.89 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.007012, allocations: 38.56 kB / 0.9543 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.007013, allocations: 0 / 0.9543 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5): time 0.0006637/0.007677, allocations: 333 kB / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.007707, allocations: 51.41 kB / 0.9547 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.128e-05/0.007748, allocations: 93.86 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.007761, allocations: 29.7 kB / 0.9548 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 1.987e-05/0.00778, allocations: 84.27 kB / 0.9549 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.007805, allocations: 23.81 kB / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.007838, allocations: 17.72 kB / 0.9549 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.971e-05/0.007907, allocations: 322.8 kB / 0.9552 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.644e-05/0.007984, allocations: 27.97 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.422e-05/0.008058, allocations: 39.97 kB / 0.9553 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.00821, allocations: 76.8 kB / 0.9553 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.008211, allocations: 0 / 0.9553 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001858/0.008397, allocations: 117.5 kB / 0.9554 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.008409, allocations: 8 kB / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.008414, allocations: 3.938 kB / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.008423, allocations: 3.938 kB / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.909e-05/0.008492, allocations: 23.98 kB / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.008496, allocations: 0 / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.346e-05/0.00854, allocations: 15.97 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.008546, allocations: 4 kB / 0.9555 GB, free: 14.13 MB / 0.9167 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 5.356e-05/0.008599, allocations: 109.8 kB / 0.9556 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-06/0.008608, allocations: 0 / 0.9556 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.008864, allocations: 149.2 kB / 0.9558 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.008866, allocations: 0 / 0.9558 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.00887, allocations: 4 kB / 0.9558 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.008873, allocations: 0 / 0.9558 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.576e-05/0.008958, allocations: 129.1 kB / 0.9559 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.00896, allocations: 8 kB / 0.9559 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.844e-05/0.009028, allocations: 20.31 kB / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.00903, allocations: 0 / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.00904, allocations: 11.92 kB / 0.9559 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.009041, allocations: 0 / 0.9559 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.009042, allocations: 0 / 0.9559 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.009334, allocations: 189 kB / 0.9561 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.466e-05/0.009369, allocations: 11.97 kB / 0.9561 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.009382, allocations: 3.938 kB / 0.9561 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.948e-05/0.009431, allocations: 15.98 kB / 0.9561 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.009451, allocations: 7.984 kB / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.009457, allocations: 4 kB / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.134e-05/0.009479, allocations: 79.34 kB / 0.9562 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.009479, allocations: 0 / 0.9562 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001684/0.009647, allocations: 35.86 kB / 0.9562 GB, free: 13.29 MB / 0.9167 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.0005063/0.01015, allocations: 0.7412 MB / 0.957 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.01035, allocations: 83.92 kB / 0.9571 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01035, allocations: 0 / 0.9571 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003187/0.01067, allocations: 51.89 kB / 0.9571 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.01078, allocations: 10.66 kB / 0.9571 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.01188, allocations: 1.36 MB / 0.9584 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.424e-05/0.01191, allocations: 63.41 kB / 0.9585 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.676e-05/0.01197, allocations: 20.06 kB / 0.9585 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.563e-05/0.01201, allocations: 12.5 kB / 0.9585 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of SimCode: time 3.11e-07/0.01201, allocations: 4 kB / 0.9585 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.02691, allocations: 2.742 MB / 0.9612 GB, free: 8.215 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.872/6.899, allocations: 5.359 kB / 0.9612 GB, free: 8.211 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 10.780580092221498] Failed to read output from testmodel.py, exit status != 0: 6.981559640727937 6.988316528 6.981594381 Calling exit ...