Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.001696/0.001696, allocations: 113.5 kB / 17.08 MB, free: 5.957 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.001726/0.001727, allocations: 192.7 kB / 20.02 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.44/1.44, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] 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.859/2.859, allocations: 489.3 MB / 0.7687 GB, free: 3.801 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.89 kB / 1.103 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8786/0.8805, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002/0.8825, allocations: 1.295 MB / 1.264 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008582/0.8834, allocations: 0.6031 MB / 1.264 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.311e-05/0.8835, allocations: 0 / 1.264 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.573e-05/0.8835, allocations: 4.594 kB / 1.264 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.585e-05/0.8835, allocations: 1.453 kB / 1.264 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.884, allocations: 145.3 kB / 1.265 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.317e-05/0.8841, allocations: 27.2 kB / 1.265 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.8842, allocations: 3.016 kB / 1.265 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.348e-05/0.8842, allocations: 5.641 kB / 1.265 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.598e-05/0.8842, allocations: 12.91 kB / 1.265 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.8843, allocations: 0.8438 kB / 1.265 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005255/0.8848, allocations: 341 kB / 1.265 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.8848, allocations: 10.17 kB / 1.265 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.8848, allocations: 9.047 kB / 1.265 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.8851, allocations: 147.3 kB / 1.265 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8851, allocations: 0 / 1.265 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8851, allocations: 0.7812 kB / 1.265 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.8851, allocations: 0 / 1.265 GB, free: 6.43 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003202/0.8855, allocations: 357.3 kB / 1.265 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.8855, allocations: 14.19 kB / 1.265 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.8855, allocations: 6.703 kB / 1.265 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.075e-05/0.8856, allocations: 167 kB / 1.266 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-06/0.8856, allocations: 5.219 kB / 1.266 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.8857, allocations: 2.125 kB / 1.266 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.195e-05/0.8858, allocations: 40.95 kB / 1.266 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.8858, allocations: 4.125 kB / 1.266 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.8858, allocations: 4.625 kB / 1.266 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.8858, allocations: 0.7188 kB / 1.266 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.832e-05/0.8858, allocations: 15.89 kB / 1.266 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.886, allocations: 159.3 kB / 1.266 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.8861, allocations: 44.3 kB / 1.266 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.019e-05/0.8862, allocations: 17.61 kB / 1.266 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.8862, allocations: 0.8125 kB / 1.266 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.296e-05/0.8862, allocations: 32.95 kB / 1.266 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.8862, allocations: 4 kB / 1.266 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0004976/0.8867, allocations: 321.1 kB / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.557e-05/0.8867, allocations: 52.34 kB / 1.266 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.108e-05/0.8868, allocations: 95.31 kB / 1.266 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.315e-06/0.8868, allocations: 30.77 kB / 1.266 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.351e-05/0.8868, allocations: 81.2 kB / 1.267 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.8868, allocations: 23.98 kB / 1.267 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.8869, allocations: 24.27 kB / 1.267 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.775e-05/0.8869, allocations: 313.7 kB / 1.267 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.744e-05/0.887, allocations: 11.47 kB / 1.267 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.34e-05/0.887, allocations: 15.77 kB / 1.267 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.761e-05/0.8871, allocations: 29.91 kB / 1.267 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.8871, allocations: 0 / 1.267 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.336e-05/0.8872, allocations: 64.86 kB / 1.267 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.8872, allocations: 9.844 kB / 1.267 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.8872, allocations: 4 kB / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.8872, allocations: 4.812 kB / 1.267 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.182e-05/0.8873, allocations: 15.2 kB / 1.267 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.8873, allocations: 0 / 1.267 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.609e-05/0.8873, allocations: 1.422 kB / 1.267 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.8873, allocations: 2 kB / 1.267 GB, free: 4.492 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 (7): * Single equations (assignments): 7 * 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.201e-05/0.8873, allocations: 116.2 kB / 1.267 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.8874, allocations: 6.719 kB / 1.267 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.8875, allocations: 68.48 kB / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.8875, allocations: 4.625 kB / 1.267 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.8875, allocations: 4.969 kB / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8875, allocations: 4.547 kB / 1.267 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.8878, allocations: 312.5 kB / 1.267 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8878, allocations: 0.75 kB / 1.267 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.308e-05/0.8878, allocations: 15.86 kB / 1.268 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.8879, allocations: 1.203 kB / 1.268 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.8879, allocations: 5.562 kB / 1.268 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.8879, allocations: 1.391 kB / 1.268 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.8879, allocations: 4.625 kB / 1.268 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.888, allocations: 176.6 kB / 1.268 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/0.8881, allocations: 81.78 kB / 1.268 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.8881, allocations: 2.391 kB / 1.268 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.678e-05/0.8882, allocations: 4.938 kB / 1.268 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.8882, allocations: 4.453 kB / 1.268 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.8882, allocations: 6.156 kB / 1.268 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.005e-05/0.8882, allocations: 95.5 kB / 1.268 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8882, allocations: 0 / 1.268 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002354/0.8885, allocations: 23 kB / 1.268 GB, free: 3.617 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001462/0.8886, allocations: 126.8 kB / 1.268 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.912e-05/0.8887, allocations: 28.39 kB / 1.268 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8887, allocations: 0.9375 kB / 1.268 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.799e-05/0.8888, allocations: 20.28 kB / 1.268 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.889, allocations: 15.48 kB / 1.268 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.8893, allocations: 226.2 kB / 1.268 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.756e-05/0.8894, allocations: 0.6797 MB / 1.269 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.989e-05/0.8894, allocations: 11.53 kB / 1.269 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.8894, allocations: 0 / 1.269 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of Templates: time 0.002408/0.8918, allocations: 0.7912 MB / 1.27 GB, free: 2.52 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 10.667063164990395] Failed to read output from testmodel.py, exit status != 0: 0.898864267161116 0.909935894 0.022390884 Calling exit ...