Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001115/0.001115, 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.001165/0.001165, 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.8723/0.8723, 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.734/1.734, allocations: 377.9 MB / 0.6221 GB, free: 8.625 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.InverseXDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.981 GB, free: 2.492 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.749e-05, allocations: 5.656 kB / 0.981 GB, free: 2.488 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001134/0.001152, allocations: 0.6072 MB / 0.9816 GB, free: 1.883 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.002593, allocations: 1.431 MB / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.382e-05/0.002617, allocations: 0 / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.002632, allocations: 0 / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.494e-05/0.002657, allocations: 0 / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.00309, allocations: 150.7 kB / 0.9832 GB, free: 296 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.39e-05/0.003154, allocations: 27.97 kB / 0.9832 GB, free: 268 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.003195, allocations: 4 kB / 0.9832 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.549e-05/0.00325, allocations: 23.97 kB / 0.9832 GB, free: 240 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.604e-05/0.003316, allocations: 19.97 kB / 0.9832 GB, free: 220 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.003334, allocations: 4 kB / 0.9832 GB, free: 216 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004161/0.00375, allocations: 247.5 kB / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.003768, allocations: 7.969 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.003792, allocations: 15.92 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.004016, allocations: 199.5 kB / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004018, allocations: 0 / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.00402, allocations: 0 / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.004023, allocations: 0 / 0.9837 GB, free: 15.75 MB / 0.948 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.0003613/0.004385, allocations: 294 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.004421, allocations: 8.031 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.014e-05/0.004451, allocations: 30.75 kB / 0.984 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000248/0.004699, allocations: 80.83 kB / 0.9841 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.881e-05/0.004768, allocations: 105.8 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.004788, allocations: 384 / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.004807, allocations: 4.328 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.004976, allocations: 103.8 kB / 0.9843 GB, free: 15.06 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.004982, allocations: 4.188 kB / 0.9843 GB, free: 15.06 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.004995, allocations: 8.125 kB / 0.9843 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.005, allocations: 3.938 kB / 0.9843 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.005147, allocations: 63.92 kB / 0.9844 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/0.005274, allocations: 132.8 kB / 0.9845 GB, free: 14.81 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.005608, allocations: 118.6 kB / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.227e-05/0.00569, allocations: 40.91 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002267/0.005917, allocations: 87.84 kB / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.005935, allocations: 34.56 kB / 0.9848 GB, free: 14.52 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.005936, allocations: 0 / 0.9848 GB, free: 14.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=5): time 0.0006811/0.006617, allocations: 333 kB / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.006645, allocations: 51.41 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.366e-05/0.006689, allocations: 93.86 kB / 0.9852 GB, free: 13.99 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.006704, allocations: 37.62 kB / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.087e-05/0.006725, allocations: 84.12 kB / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.006749, allocations: 15.97 kB / 0.9853 GB, free: 13.85 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.006783, allocations: 21.72 kB / 0.9854 GB, free: 13.82 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.284e-05/0.006856, allocations: 318.8 kB / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.006935, allocations: 31.97 kB / 0.9857 GB, free: 13.47 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.279e-05/0.007007, allocations: 35.97 kB / 0.9857 GB, free: 13.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.007159, allocations: 76.8 kB / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.00716, allocations: 4 kB / 0.9858 GB, free: 13.35 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001945/0.007354, allocations: 113.5 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.007368, allocations: 8 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.007373, allocations: 3.938 kB / 0.9859 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.007385, allocations: 0 / 0.9859 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.19e-05/0.007457, allocations: 27.97 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.007462, allocations: 256 / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.035e-05/0.007502, allocations: 11.98 kB / 0.986 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.007512, allocations: 8 kB / 0.986 GB, free: 13.18 MB / 0.948 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.151e-05/0.007564, allocations: 109.8 kB / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.007572, allocations: 4 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.007819, allocations: 141.3 kB / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.007821, allocations: 0 / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.007825, allocations: 0 / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.007829, allocations: 8.328 kB / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.485e-05/0.007914, allocations: 128.8 kB / 0.9863 GB, free: 12.74 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.007914, allocations: 0 / 0.9863 GB, free: 12.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.154e-05/0.007986, allocations: 19.98 kB / 0.9864 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.007989, allocations: 3.984 kB / 0.9864 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.008001, allocations: 19.86 kB / 0.9864 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.008002, allocations: 0 / 0.9864 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.008003, allocations: 0 / 0.9864 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.008311, allocations: 188.9 kB / 0.9866 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.008346, allocations: 8.016 kB / 0.9866 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.008358, allocations: 3.938 kB / 0.9866 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.008e-05/0.008408, allocations: 15.98 kB / 0.9866 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.008427, allocations: 7.922 kB / 0.9866 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.008432, allocations: 4 kB / 0.9866 GB, free: 12.45 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002576/0.00869, allocations: 79.28 kB / 0.9867 GB, free: 12.38 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.00869, allocations: 0 / 0.9867 GB, free: 12.38 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001598/0.00885, allocations: 40.02 kB / 0.9867 GB, free: 12.34 MB / 0.948 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.0005156/0.009365, allocations: 0.7411 MB / 0.9874 GB, free: 11.57 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.009564, allocations: 84.12 kB / 0.9875 GB, free: 11.48 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.009566, allocations: 0 / 0.9875 GB, free: 11.48 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.045e-05/0.009647, allocations: 48.08 kB / 0.9876 GB, free: 11.44 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001126/0.009759, allocations: 13.17 kB / 0.9876 GB, free: 11.43 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.01088, allocations: 1.36 MB / 0.9889 GB, free: 9.984 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.563e-05/0.01092, allocations: 71.14 kB / 0.989 GB, free: 9.895 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.896e-05/0.01098, allocations: 20 kB / 0.989 GB, free: 9.875 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.01102, allocations: 12.5 kB / 0.989 GB, free: 9.863 MB / 0.948 GB Notification: Performance of SimCode: time 3.1e-07/0.01102, allocations: 0 / 0.989 GB, free: 9.863 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01524/0.02626, allocations: 2.748 MB / 0.9917 GB, free: 7.246 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.829/6.856, allocations: 3.609 kB / 0.9917 GB, free: 7.246 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 10.83485864661634] Failed to read output from testmodel.py, exit status != 0: 6.9369076723232865 6.945634076 6.939950721 Calling exit ...