Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 108.5 kB / 17.07 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 190.8 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 222.9 MB / 245.7 MB, free: 4.242 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.114/1.114, allocations: 147.6 MB / 445.6 MB, free: 8.316 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 64.83 kB / 0.611 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1865, allocations: 83.16 MB / 0.6922 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.0032/0.1898, allocations: 1.05 MB / 0.6932 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.1915, allocations: 0.9815 MB / 0.6942 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.1917, allocations: 6.719 kB / 0.6942 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.1918, allocations: 25.27 kB / 0.6942 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.739e-05/0.1919, allocations: 21.17 kB / 0.6942 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.1923, allocations: 67.42 kB / 0.6943 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.1925, allocations: 183.3 kB / 0.6944 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.1927, allocations: 82.84 kB / 0.6945 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1928, allocations: 67.02 kB / 0.6946 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.193, allocations: 79.98 kB / 0.6947 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.193, allocations: 16.81 kB / 0.6947 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 3.003e-05/0.193, allocations: 18.28 kB / 0.6947 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.431e-05/0.1931, allocations: 42.88 kB / 0.6947 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.778e-05/0.1932, allocations: 75.64 kB / 0.6948 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.1935, allocations: 182.7 kB / 0.695 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1935, allocations: 0 / 0.695 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.538e-06/0.1935, allocations: 0 / 0.695 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.1935, allocations: 3.938 kB / 0.695 GB, free: 11.14 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001029/0.1946, allocations: 487.2 kB / 0.6954 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.1946, allocations: 9.625 kB / 0.6955 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.587e-05/0.1947, allocations: 52.23 kB / 0.6955 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.606e-05/0.1948, allocations: 17.09 kB / 0.6955 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004161/0.1952, allocations: 223.9 kB / 0.6957 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.1952, allocations: 15.25 kB / 0.6958 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.1953, allocations: 14 kB / 0.6958 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.1956, allocations: 147.3 kB / 0.6959 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1957, allocations: 0 / 0.6959 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.1957, allocations: 9.359 kB / 0.6959 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.1957, allocations: 4.125 kB / 0.6959 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.196, allocations: 105.5 kB / 0.696 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.1972, allocations: 0.5384 MB / 0.6965 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.1977, allocations: 149.5 kB / 0.6967 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.1979, allocations: 79.05 kB / 0.6968 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.1979, allocations: 10.19 kB / 0.6968 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002736/0.1982, allocations: 117.4 kB / 0.6969 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.1982, allocations: 7.938 kB / 0.6969 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.0006131/0.1988, allocations: 223.6 kB / 0.6971 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.1989, allocations: 53.62 kB / 0.6972 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.1991, allocations: 167.7 kB / 0.6973 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.1991, allocations: 31.11 kB / 0.6973 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.886e-05/0.1992, allocations: 115.6 kB / 0.6975 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.775e-05/0.1993, allocations: 74.56 kB / 0.6975 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.83e-05/0.1993, allocations: 39.8 kB / 0.6976 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1995, allocations: 325.4 kB / 0.6979 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.1997, allocations: 71.08 kB / 0.6979 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.2, allocations: 93.12 kB / 0.698 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003784/0.2004, allocations: 145.4 kB / 0.6982 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2004, allocations: 0 / 0.6982 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005121/0.2009, allocations: 223.9 kB / 0.6984 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2009, allocations: 4.875 kB / 0.6984 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2009, allocations: 0 / 0.6984 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.2009, allocations: 10.53 kB / 0.6984 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.2012, allocations: 41.53 kB / 0.6984 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.2012, allocations: 8.266 kB / 0.6984 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.2013, allocations: 19.88 kB / 0.6985 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.2013, allocations: 11.94 kB / 0.6985 GB, free: 8.266 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001354/0.2015, allocations: 125.8 kB / 0.6986 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.2015, allocations: 15.91 kB / 0.6986 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004898/0.202, allocations: 199.9 kB / 0.6988 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.202, allocations: 4 kB / 0.6988 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2021, allocations: 0 / 0.6988 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.2021, allocations: 3.984 kB / 0.6988 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.2031, allocations: 0.5739 MB / 0.6994 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.2031, allocations: 4 kB / 0.6994 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.2033, allocations: 35.97 kB / 0.6994 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.2033, allocations: 7.938 kB / 0.6994 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.2034, allocations: 4.188 kB / 0.6994 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.2034, allocations: 7.938 kB / 0.6994 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2034, allocations: 4 kB / 0.6994 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007695/0.2041, allocations: 395.3 kB / 0.6998 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/0.2042, allocations: 104.9 kB / 0.6999 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.2043, allocations: 8 kB / 0.6999 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.2044, allocations: 11.98 kB / 0.6999 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.101e-05/0.2045, allocations: 27.97 kB / 0.7 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.2045, allocations: 8 kB / 0.7 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001064/0.2047, allocations: 122.5 kB / 0.7001 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2047, allocations: 0 / 0.7001 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002765/0.2049, allocations: 28 kB / 0.7001 GB, free: 6.461 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.00111/0.2061, allocations: 0.9164 MB / 0.701 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004789/0.2066, allocations: 169.9 kB / 0.7012 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2066, allocations: 0 / 0.7012 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.2068, allocations: 83.83 kB / 0.7012 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.2071, allocations: 34.02 kB / 0.7013 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.2108, allocations: 2.138 MB / 0.7034 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.2113, allocations: 0.7204 MB / 0.7041 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.569e-05/0.2114, allocations: 21.42 kB / 0.7041 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.2115, allocations: 47.42 kB / 0.7041 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of SimCode: time 7.12e-07/0.2115, allocations: 0 / 0.7041 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.2403, allocations: 3.607 MB / 0.7077 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/8.397, allocations: 7.344 kB / 0.7077 GB, free: 14.62 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-07 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.324839339824393] Failed to read output from testmodel.py, exit status != 0: 8.808264529099688 8.498412555 8.300106184 Calling exit ...