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.0008465/0.0008465, 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.0009225/0.0009225, 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.8925/0.8925, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.816/1.816, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.785e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001739/0.001767, allocations: 0.5955 MB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.003709, allocations: 1.432 MB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.003741, allocations: 7.875 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.003759, allocations: 0 / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.085e-05/0.00379, allocations: 0 / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.004357, allocations: 143.4 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.91e-05/0.004446, allocations: 27.92 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.004496, allocations: 3.984 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.853e-05/0.004564, allocations: 23.97 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.32e-05/0.004647, allocations: 23.95 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.004665, allocations: 3.938 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003725/0.005038, allocations: 247.5 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.005059, allocations: 11.98 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.005082, allocations: 7.922 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.005384, allocations: 207.5 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.005388, allocations: 8 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.172e-06/0.005389, allocations: 0 / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.005394, allocations: 0 / 1.002 GB, free: 10.7 MB / 0.9636 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.000476/0.00587, allocations: 286 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.005916, allocations: 12.75 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.005953, allocations: 30.75 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003539/0.006307, allocations: 68.8 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.006425, allocations: 105.8 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.006451, allocations: 384 / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.006475, allocations: 8.375 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.006702, allocations: 103.9 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.00671, allocations: 192 / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.006725, allocations: 4.125 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.006731, allocations: 0 / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.006895, allocations: 71.86 kB / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.007049, allocations: 128.8 kB / 1.003 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.007427, allocations: 122.6 kB / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.088e-05/0.007517, allocations: 48.91 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002444/0.007762, allocations: 71.91 kB / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.007782, allocations: 34.56 kB / 1.003 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.007783, allocations: 0 / 1.003 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5): time 0.0007513/0.008535, allocations: 333 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.008566, allocations: 59.34 kB / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.288e-05/0.008618, allocations: 101.8 kB / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.008632, allocations: 25.7 kB / 1.004 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.008657, allocations: 84.08 kB / 1.004 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.008691, allocations: 23.8 kB / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.008726, allocations: 17.72 kB / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.547e-05/0.008812, allocations: 322.8 kB / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-05/0.008893, allocations: 36.09 kB / 1.004 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.721e-05/0.00897, allocations: 31.97 kB / 1.004 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.009129, allocations: 76.8 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.00913, allocations: 0 / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001997/0.009329, allocations: 117.6 kB / 1.005 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.009342, allocations: 4 kB / 1.005 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.009347, allocations: 3.938 kB / 1.005 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.009359, allocations: 4 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.29e-05/0.009432, allocations: 23.97 kB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.009437, allocations: 4 kB / 1.005 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.371e-05/0.00948, allocations: 11.98 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.009487, allocations: 0 / 1.005 GB, free: 8.148 MB / 0.9636 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.553e-05/0.009583, allocations: 113.8 kB / 1.005 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.009598, allocations: 0 / 1.005 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.009906, allocations: 137.3 kB / 1.005 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.009909, allocations: 7.938 kB / 1.005 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.009913, allocations: 336 / 1.005 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.009916, allocations: 0 / 1.005 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.782e-05/0.01001, allocations: 132.8 kB / 1.005 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.01002, allocations: 320 / 1.005 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.828e-05/0.0101, allocations: 23.98 kB / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.01011, allocations: 11.97 kB / 1.005 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.01012, allocations: 7.938 kB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01012, allocations: 0 / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01012, allocations: 0 / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.01044, allocations: 181 kB / 1.005 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.01048, allocations: 12.02 kB / 1.005 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.0105, allocations: 3.938 kB / 1.005 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.055e-05/0.01055, allocations: 11.98 kB / 1.005 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.01057, allocations: 15.98 kB / 1.005 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.01058, allocations: 0 / 1.005 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.561e-05/0.0106, allocations: 87.22 kB / 1.005 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.0106, allocations: 0 / 1.005 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001625/0.01076, allocations: 31.86 kB / 1.005 GB, free: 7.305 MB / 0.9636 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.0005881/0.01135, allocations: 0.749 MB / 1.006 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.01157, allocations: 87.88 kB / 1.006 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01157, allocations: 0 / 1.006 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.266e-05/0.01165, allocations: 51.89 kB / 1.006 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001142/0.01176, allocations: 2.234 kB / 1.006 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.01295, allocations: 1.356 MB / 1.008 GB, free: 4.949 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.54e-05/0.01299, allocations: 63.34 kB / 1.008 GB, free: 4.867 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.069e-05/0.01305, allocations: 16 kB / 1.008 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.0131, allocations: 16.5 kB / 1.008 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of SimCode: time 2.9e-07/0.0131, allocations: 0 / 1.008 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.02955, allocations: 2.759 MB / 1.01 GB, free: 2.223 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.126/7.155, allocations: 8 kB / 1.01 GB, free: 2.215 MB / 0.9636 GB " [Timeout remaining time 293] (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: 11.246764327399433] Failed to read output from testmodel.py, exit status != 0: 7.2382772183045745 7.246609391 7.239421388 Calling exit ...