Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.0009639/0.0009639, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.00143/0.00143, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9897/0.9897, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00244/0.00244, allocations: 240.2 kB / 261.3 MB, free: 12.66 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7362/0.7362, allocations: 138.4 MB / 456.3 MB, free: 30.05 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.5563 GB, free: 15.89 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.942e-05, allocations: 2.312 kB / 0.5563 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001587/0.001607, allocations: 1.325 MB / 0.5576 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006924/0.002299, allocations: 0.5798 MB / 0.5582 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.379e-05/0.002323, allocations: 0 / 0.5582 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.002339, allocations: 0 / 0.5582 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.636e-05/0.002376, allocations: 7.938 kB / 0.5582 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.002781, allocations: 151.2 kB / 0.5583 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.032e-05/0.002842, allocations: 19.88 kB / 0.5584 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.002878, allocations: 7.938 kB / 0.5584 GB, free: 13.78 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.367e-05/0.002941, allocations: 7.984 kB / 0.5584 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.909e-05/0.002991, allocations: 11.97 kB / 0.5584 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.003004, allocations: 0 / 0.5584 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.00328, allocations: 267.4 kB / 0.5586 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.003294, allocations: 4 kB / 0.5587 GB, free: 13.49 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.511e-05/0.003309, allocations: 11.98 kB / 0.5587 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.00349, allocations: 159.5 kB / 0.5588 GB, free: 13.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.003492, allocations: 0 / 0.5588 GB, free: 13.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003492, allocations: 0 / 0.5588 GB, free: 13.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.003495, allocations: 0 / 0.5588 GB, free: 13.32 MB / 490.7 MB 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.0003026/0.003798, allocations: 396.2 kB / 0.5592 GB, free: 12.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.003832, allocations: 9.938 kB / 0.5592 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.003868, allocations: 8.875 kB / 0.5592 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.881e-05/0.003956, allocations: 108.6 kB / 0.5593 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.003969, allocations: 4.375 kB / 0.5593 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.003989, allocations: 16.34 kB / 0.5593 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.05e-05/0.004069, allocations: 63.95 kB / 0.5594 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.004077, allocations: 192 / 0.5594 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.004083, allocations: 384 / 0.5594 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.004089, allocations: 384 / 0.5594 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.902e-05/0.004108, allocations: 7.938 kB / 0.5594 GB, free: 12.65 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001226/0.00423, allocations: 105.2 kB / 0.5595 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.004375, allocations: 47.03 kB / 0.5596 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.004395, allocations: 19.69 kB / 0.5596 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.004408, allocations: 0 / 0.5596 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.004434, allocations: 37.39 kB / 0.5596 GB, free: 12.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 6.71e-07/0.004434, allocations: 0 / 0.5596 GB, free: 12.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003798/0.004814, allocations: 237.7 kB / 0.5598 GB, free: 12.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.004842, allocations: 55.34 kB / 0.5599 GB, free: 12.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.04e-05/0.004903, allocations: 161.9 kB / 0.56 GB, free: 11.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.004916, allocations: 25.7 kB / 0.5601 GB, free: 11.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.004951, allocations: 126.9 kB / 0.5602 GB, free: 11.72 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.004976, allocations: 23.84 kB / 0.5602 GB, free: 11.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.005002, allocations: 27.36 kB / 0.5602 GB, free: 11.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.005106, allocations: 496.1 kB / 0.5607 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.005116, allocations: 11.98 kB / 0.5607 GB, free: 11.15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.218e-06/0.005126, allocations: 4 kB / 0.5607 GB, free: 11.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.048e-05/0.005156, allocations: 27.67 kB / 0.5607 GB, free: 11.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.005157, allocations: 0 / 0.5607 GB, free: 11.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.004e-05/0.005217, allocations: 57.62 kB / 0.5608 GB, free: 11.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.005227, allocations: 4 kB / 0.5608 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.005232, allocations: 4 kB / 0.5608 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.005241, allocations: 0 / 0.5608 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.295e-05/0.005274, allocations: 11.98 kB / 0.5608 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.005276, allocations: 0 / 0.5608 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.999e-06/0.005286, allocations: 3.938 kB / 0.5608 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-06/0.005289, allocations: 11.94 kB / 0.5608 GB, free: 11.02 MB / 490.7 MB 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 5.847e-05/0.005348, allocations: 156.6 kB / 0.561 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-06/0.005356, allocations: 4.516 kB / 0.561 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.859e-05/0.005435, allocations: 69.73 kB / 0.5611 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.005436, allocations: 0 / 0.5611 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.005437, allocations: 0 / 0.5611 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.005442, allocations: 7.922 kB / 0.5611 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.005622, allocations: 293.9 kB / 0.5613 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.005623, allocations: 4 kB / 0.5613 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.772e-05/0.005661, allocations: 23.95 kB / 0.5614 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.005662, allocations: 0 / 0.5614 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.005668, allocations: 4 kB / 0.5614 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.005669, allocations: 0 / 0.5614 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.005671, allocations: 3.938 kB / 0.5614 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.0058, allocations: 215.6 kB / 0.5616 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.005814, allocations: 3.984 kB / 0.5616 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.166e-06/0.005822, allocations: 4 kB / 0.5616 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.383e-05/0.005856, allocations: 0 / 0.5616 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.005871, allocations: 15.86 kB / 0.5616 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.005877, allocations: 4 kB / 0.5616 GB, free: 10.15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.089e-05/0.005908, allocations: 131.2 kB / 0.5617 GB, free: 10.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.005909, allocations: 0 / 0.5617 GB, free: 10.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001564/0.006065, allocations: 23.88 kB / 0.5618 GB, free: 10 MB / 490.7 MB 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.0001103/0.006175, allocations: 115.2 kB / 0.5619 GB, free: 9.879 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.366e-05/0.006239, allocations: 31.67 kB / 0.5619 GB, free: 9.844 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.00624, allocations: 0 / 0.5619 GB, free: 9.844 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.608e-05/0.006257, allocations: 23.61 kB / 0.5619 GB, free: 9.816 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.0064, allocations: 8 kB / 0.5619 GB, free: 9.809 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.006791, allocations: 197.8 kB / 0.5621 GB, free: 9.582 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.311e-05/0.006825, allocations: 59.34 kB / 0.5622 GB, free: 9.504 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.326e-05/0.006848, allocations: 12.08 kB / 0.5622 GB, free: 9.492 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.006892, allocations: 74.2 kB / 0.5623 GB, free: 9.418 MB / 490.7 MB Notification: Performance of SimCode: time 4.81e-07/0.006893, allocations: 0 / 0.5623 GB, free: 9.418 MB / 490.7 MB Notification: Performance of Templates: time 0.002131/0.009024, allocations: 0.7772 MB / 0.563 GB, free: 8.695 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.740858640987426]