Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001576/0.001576, allocations: 114.6 kB / 17.08 MB, free: 5.961 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.001641/0.001641, allocations: 193.2 kB / 20.03 MB, free: 3.039 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.394/1.394, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.848/2.848, allocations: 489.3 MB / 0.7687 GB, free: 3.762 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.89 kB / 1.103 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.898/0.8999, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002507/0.9025, allocations: 1.488 MB / 1.264 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.9035, allocations: 0.6186 MB / 1.265 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.9036, allocations: 0.8438 kB / 1.265 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.46e-05/0.9036, allocations: 5.156 kB / 1.265 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.68e-05/0.9037, allocations: 13.42 kB / 1.265 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005572/0.9042, allocations: 163.8 kB / 1.265 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.442e-05/0.9043, allocations: 54.41 kB / 1.265 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.9044, allocations: 3.812 kB / 1.265 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.071e-05/0.9045, allocations: 20.62 kB / 1.265 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.336e-05/0.9045, allocations: 29.84 kB / 1.265 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.9045, allocations: 4.219 kB / 1.265 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005744/0.9051, allocations: 343.2 kB / 1.265 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.9051, allocations: 16.75 kB / 1.265 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.9052, allocations: 26.59 kB / 1.265 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.9055, allocations: 174.7 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.9055, allocations: 0.75 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9055, allocations: 0 / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.9055, allocations: 0.8438 kB / 1.265 GB, free: 6.211 MB / 0.9981 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.0005121/0.906, allocations: 404.7 kB / 1.266 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.9061, allocations: 10.28 kB / 1.266 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.9061, allocations: 8.75 kB / 1.266 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.45e-05/0.9062, allocations: 171 kB / 1.266 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.9062, allocations: 12.09 kB / 1.266 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.9063, allocations: 5.5 kB / 1.266 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.9065, allocations: 79.73 kB / 1.266 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.9065, allocations: 192 / 1.266 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.9066, allocations: 9.609 kB / 1.266 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.9066, allocations: 1.719 kB / 1.266 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.9068, allocations: 51.55 kB / 1.266 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.9073, allocations: 316.9 kB / 1.266 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.9076, allocations: 84.08 kB / 1.267 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.9077, allocations: 28.36 kB / 1.267 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.9078, allocations: 4.672 kB / 1.267 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.9078, allocations: 36.77 kB / 1.267 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.9078, allocations: 4.734 kB / 1.267 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.001599/0.9094, allocations: 0.6478 MB / 1.267 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.9094, allocations: 57.05 kB / 1.267 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.378e-05/0.9095, allocations: 101.5 kB / 1.267 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.9095, allocations: 30.64 kB / 1.267 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.803e-05/0.9096, allocations: 88.75 kB / 1.268 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.9096, allocations: 43.92 kB / 1.268 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.9096, allocations: 24.92 kB / 1.268 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.22e-05/0.9097, allocations: 323.2 kB / 1.268 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.9098, allocations: 31.95 kB / 1.268 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.91, allocations: 29.28 kB / 1.268 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.9102, allocations: 79.08 kB / 1.268 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.9102, allocations: 0 / 1.268 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003205/0.9106, allocations: 123.7 kB / 1.268 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.9106, allocations: 9.719 kB / 1.268 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.9106, allocations: 0 / 1.268 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.9106, allocations: 0.6875 kB / 1.268 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.9108, allocations: 26.16 kB / 1.268 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.9108, allocations: 0.9062 kB / 1.268 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.557e-05/0.9109, allocations: 17.45 kB / 1.268 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.9109, allocations: 6.781 kB / 1.268 GB, free: 3.812 MB / 0.9981 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 5.78e-05/0.9109, allocations: 121.8 kB / 1.268 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.911, allocations: 3.469 kB / 1.268 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003935/0.9114, allocations: 125.5 kB / 1.268 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.9114, allocations: 1.594 kB / 1.268 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.9114, allocations: 0 / 1.268 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.9114, allocations: 5.828 kB / 1.268 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005068/0.9119, allocations: 386.7 kB / 1.269 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.9119, allocations: 4.906 kB / 1.269 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.9121, allocations: 28.69 kB / 1.269 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.9121, allocations: 1.672 kB / 1.269 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.9121, allocations: 9.312 kB / 1.269 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.9121, allocations: 1.344 kB / 1.269 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.9121, allocations: 3.938 kB / 1.269 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004849/0.9126, allocations: 252.5 kB / 1.269 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.9126, allocations: 79.19 kB / 1.269 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.9127, allocations: 5.281 kB / 1.269 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.9128, allocations: 10.55 kB / 1.269 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.9128, allocations: 7.5 kB / 1.269 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.9128, allocations: 2.719 kB / 1.269 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.289e-05/0.9129, allocations: 80.06 kB / 1.269 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9129, allocations: 0 / 1.269 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003045/0.9132, allocations: 39.58 kB / 1.269 GB, free: 2.898 MB / 0.9981 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.0002026/0.9134, allocations: 139.5 kB / 1.269 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003455/0.9137, allocations: 80.53 kB / 1.27 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9138, allocations: 0 / 1.27 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.9139, allocations: 50.45 kB / 1.27 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.9142, allocations: 10.8 kB / 1.27 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005944/0.9148, allocations: 357.4 kB / 1.27 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.9149, allocations: 0.6949 MB / 1.271 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.915, allocations: 14.84 kB / 1.271 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.915, allocations: 5.125 kB / 1.271 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of Templates: time 0.003226/0.9182, allocations: 1.304 MB / 1.272 GB, free: 1.652 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 10.748069472843781] Failed to read output from testmodel.py, exit status != 0: 0.9246258779894561 0.937154419 0.029022458 Calling exit ...