Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.00147/0.00147, allocations: 113.2 kB / 17.13 MB, free: 5.945 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.001587/0.001587, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.34/1.34, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002258/0.002258, allocations: 283.3 kB / 303.6 MB, free: 3.723 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 180.9 MB / 0.5268 GB, free: 2.68 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002676/0.002676, allocations: 99.84 kB / 0.7259 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4377, allocations: 94.16 MB / 0.8179 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002069/0.4398, allocations: 1.486 MB / 0.8193 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000838/0.4407, allocations: 0.6299 MB / 0.8199 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.4407, allocations: 0 / 0.8199 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.643e-05/0.4407, allocations: 5.562 kB / 0.8199 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.073e-05/0.4408, allocations: 3.938 kB / 0.8199 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.4412, allocations: 167.3 kB / 0.8201 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.229e-05/0.4413, allocations: 57.44 kB / 0.8202 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.186e-05/0.4413, allocations: 10.08 kB / 0.8202 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.996e-05/0.4414, allocations: 17.41 kB / 0.8202 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.805e-05/0.4414, allocations: 27.33 kB / 0.8202 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.4414, allocations: 3.781 kB / 0.8202 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004376/0.4419, allocations: 349.8 kB / 0.8205 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.4419, allocations: 10.59 kB / 0.8206 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.4419, allocations: 30.97 kB / 0.8206 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.4422, allocations: 169.2 kB / 0.8207 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.4422, allocations: 0 / 0.8207 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4422, allocations: 4.938 kB / 0.8207 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.4422, allocations: 0 / 0.8207 GB, free: 5.641 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004745/0.4426, allocations: 410.2 kB / 0.8211 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.4427, allocations: 8.469 kB / 0.8211 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.4427, allocations: 4.594 kB / 0.8212 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.836e-05/0.4428, allocations: 178.1 kB / 0.8213 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.4428, allocations: 6.875 kB / 0.8213 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.4428, allocations: 5.906 kB / 0.8213 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.443, allocations: 72.78 kB / 0.8214 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.443, allocations: 4.844 kB / 0.8214 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.443, allocations: 8.656 kB / 0.8214 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4431, allocations: 2.188 kB / 0.8214 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.4433, allocations: 48.11 kB / 0.8215 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.4437, allocations: 325.3 kB / 0.8218 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.444, allocations: 78.19 kB / 0.8219 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.4441, allocations: 30.38 kB / 0.8219 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.4441, allocations: 6.078 kB / 0.8219 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.4441, allocations: 32.69 kB / 0.8219 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.4441, allocations: 0 / 0.8219 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001408/0.4455, allocations: 0.6522 MB / 0.8226 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.4456, allocations: 56.69 kB / 0.8226 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.722e-05/0.4456, allocations: 106.1 kB / 0.8227 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.4456, allocations: 27.39 kB / 0.8227 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.373e-05/0.4456, allocations: 94.7 kB / 0.8228 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.4457, allocations: 39.55 kB / 0.8229 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.4457, allocations: 29.27 kB / 0.8229 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.839e-05/0.4458, allocations: 319.6 kB / 0.8232 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.4459, allocations: 31.38 kB / 0.8232 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.446, allocations: 33.56 kB / 0.8233 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.4462, allocations: 78.44 kB / 0.8233 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4462, allocations: 0 / 0.8233 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002715/0.4465, allocations: 119.6 kB / 0.8234 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.4465, allocations: 5.625 kB / 0.8235 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.4465, allocations: 0 / 0.8235 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.4465, allocations: 0.6562 kB / 0.8235 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.4467, allocations: 29.47 kB / 0.8235 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.4467, allocations: 3.641 kB / 0.8235 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.04e-05/0.4467, allocations: 8.188 kB / 0.8235 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.4467, allocations: 7.062 kB / 0.8235 GB, free: 3.246 MB / 0.5762 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 (13): * Single equations (assignments): 13 * 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 4.92e-05/0.4468, allocations: 117.1 kB / 0.8236 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.4468, allocations: 6.578 kB / 0.8236 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/0.4471, allocations: 130.8 kB / 0.8237 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4471, allocations: 2.594 kB / 0.8237 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4471, allocations: 4 kB / 0.8237 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4471, allocations: 5.297 kB / 0.8238 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.4476, allocations: 387.8 kB / 0.8241 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4476, allocations: 0 / 0.8241 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.4477, allocations: 23.12 kB / 0.8241 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.4477, allocations: 3.141 kB / 0.8241 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.4477, allocations: 12.59 kB / 0.8242 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4477, allocations: 0 / 0.8242 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4477, allocations: 3.375 kB / 0.8242 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004247/0.4482, allocations: 251.7 kB / 0.8244 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.4482, allocations: 81.62 kB / 0.8245 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.4482, allocations: 6.562 kB / 0.8245 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.4483, allocations: 9.125 kB / 0.8245 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.4483, allocations: 11.64 kB / 0.8245 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.4483, allocations: 4.25 kB / 0.8245 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.835e-05/0.4483, allocations: 80.56 kB / 0.8246 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.4483, allocations: 0 / 0.8246 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000252/0.4486, allocations: 38.11 kB / 0.8246 GB, free: 2.324 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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 (11): * Single equations (assignments): 11 * 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.0001669/0.4488, allocations: 138.8 kB / 0.8248 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002951/0.4491, allocations: 84.92 kB / 0.8248 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4491, allocations: 0 / 0.8248 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.4492, allocations: 44.61 kB / 0.8249 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.4495, allocations: 10.12 kB / 0.8249 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005195/0.45, allocations: 343.4 kB / 0.8252 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.236e-05/0.4501, allocations: 0.6922 MB / 0.8259 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.4501, allocations: 14.05 kB / 0.8259 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.4501, allocations: 0 / 0.8259 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of Templates: time 0.00287/0.453, allocations: 1.327 MB / 0.8272 GB, free: 1.086 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.764347439166158] Failed to read output from testmodel.py, exit status != 0: 0.4597747640218586 0.47149150399999995 0.02675644899999994 Calling exit ...