Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001909/0.001909, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002004/0.002004, allocations: 214.7 kB / 22.24 MB, free: 4.855 MB / 14.72 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 1.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.41/3.41, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 65.55 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3747, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002059/0.3767, allocations: 0.5991 MB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002241/0.379, allocations: 1.436 MB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.172e-05/0.379, allocations: 0 / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.379, allocations: 0 / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.533e-05/0.379, allocations: 3.938 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.3795, allocations: 147.4 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.338e-05/0.3796, allocations: 27.97 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.3796, allocations: 3.938 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.82e-05/0.3797, allocations: 19.92 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.07e-05/0.3798, allocations: 23.95 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.3798, allocations: 8 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004057/0.3802, allocations: 243.5 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.3802, allocations: 11.98 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.3802, allocations: 11.91 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.3805, allocations: 179.8 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3805, allocations: 0 / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3805, allocations: 0 / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.3806, allocations: 0 / 1.366 GB, free: 11.37 MB / 1.061 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.0005619/0.3811, allocations: 286 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3812, allocations: 8.031 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.713e-05/0.3812, allocations: 42.73 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004434/0.3816, allocations: 64.86 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.3818, allocations: 114.5 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.3818, allocations: 384 / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.3818, allocations: 4.328 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.3821, allocations: 107.5 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.3821, allocations: 0 / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3821, allocations: 4 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.3821, allocations: 4 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.3824, allocations: 63.92 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002072/0.3826, allocations: 128.8 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005992/0.3832, allocations: 122.5 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.3834, allocations: 44.91 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004185/0.3838, allocations: 79.91 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.3839, allocations: 38.44 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3839, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.001178/0.385, allocations: 333 kB / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.3851, allocations: 55.41 kB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.96e-05/0.3851, allocations: 97.84 kB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.3852, allocations: 29.7 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.3852, allocations: 80.14 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.3852, allocations: 11.91 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.3853, allocations: 29.83 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3854, allocations: 310.8 kB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.3856, allocations: 39.91 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.3858, allocations: 39.95 kB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.3861, allocations: 68.81 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3861, allocations: 0 / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003711/0.3864, allocations: 125.5 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.3865, allocations: 4 kB / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3865, allocations: 4 kB / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3865, allocations: 0 / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.3866, allocations: 23.97 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3866, allocations: 3.938 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.457e-05/0.3867, allocations: 11.98 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.3867, allocations: 4 kB / 1.368 GB, free: 8.805 MB / 1.061 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 9.509e-05/0.3868, allocations: 113.8 kB / 1.368 GB, free: 8.684 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.834e-05/0.3868, allocations: 7.938 kB / 1.368 GB, free: 8.676 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004652/0.3873, allocations: 129.3 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3873, allocations: 0 / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3873, allocations: 0 / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3873, allocations: 0 / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.3875, allocations: 136.8 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3875, allocations: 7.938 kB / 1.369 GB, free: 8.352 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.3876, allocations: 28.22 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3876, allocations: 0 / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.3876, allocations: 8 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3876, allocations: 0 / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3876, allocations: 3.938 kB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000586/0.3882, allocations: 189 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.3883, allocations: 12.03 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.3883, allocations: 3.984 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.3884, allocations: 12.31 kB / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.009e-05/0.3884, allocations: 0 / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.3884, allocations: 11.98 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.184e-05/0.3885, allocations: 79.28 kB / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3885, allocations: 0 / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002366/0.3887, allocations: 27.88 kB / 1.369 GB, free: 7.965 MB / 1.061 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.001058/0.3898, allocations: 0.749 MB / 1.37 GB, free: 7.184 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003771/0.3902, allocations: 87.92 kB / 1.37 GB, free: 7.098 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3902, allocations: 0 / 1.37 GB, free: 7.098 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.3903, allocations: 35.97 kB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.3905, allocations: 14.17 kB / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.3927, allocations: 1.364 MB / 1.371 GB, free: 5.605 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.673e-05/0.3927, allocations: 67.28 kB / 1.371 GB, free: 5.52 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.891e-05/0.3928, allocations: 24.06 kB / 1.371 GB, free: 5.496 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/0.3929, allocations: 15.44 kB / 1.371 GB, free: 5.484 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.3929, allocations: 0 / 1.371 GB, free: 5.484 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.4233, allocations: 2.611 MB / 1.374 GB, free: 3.016 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.63, allocations: 4 kB / 1.374 GB, free: 3.012 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.914810889866203] Failed to read output from testmodel.py, exit status != 0: 11.736818857956678 11.760946828 11.375671595 Calling exit ...