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.001481/0.001481, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001521/0.001521, allocations: 162.4 kB / 23.02 MB, free: 4.949 MB / 14.72 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 1.335/1.335, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 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.002346/0.002346, allocations: 241 kB / 260 MB, free: 456 kB / 238.1 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.8753/0.8753, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003247/0.003247, allocations: 99.86 kB / 0.6473 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.4383, allocations: 95.34 MB / 0.7405 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00224/0.4405, allocations: 1.291 MB / 0.7417 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0009193/0.4415, allocations: 0.549 MB / 0.7423 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.4415, allocations: 0 / 0.7423 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.068e-05/0.4415, allocations: 4.75 kB / 0.7423 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 3.461e-05/0.4415, allocations: 9.812 kB / 0.7423 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005241/0.4421, allocations: 145.9 kB / 0.7424 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.287e-05/0.4421, allocations: 20.98 kB / 0.7424 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.4422, allocations: 1.734 kB / 0.7424 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.653e-05/0.4422, allocations: 9.25 kB / 0.7424 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.55e-05/0.4422, allocations: 13.14 kB / 0.7424 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.4423, allocations: 1.094 kB / 0.7424 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004324/0.4427, allocations: 268.3 kB / 0.7427 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.4427, allocations: 6.078 kB / 0.7427 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.4427, allocations: 13.17 kB / 0.7427 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.443, allocations: 137.7 kB / 0.7429 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.443, allocations: 1.188 kB / 0.7429 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.834e-06/0.443, allocations: 0 / 0.7429 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.443, allocations: 0 / 0.7429 GB, free: 16.01 MB / 0.5919 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.0003394/0.4434, allocations: 281.4 kB / 0.7431 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.4434, allocations: 9.938 kB / 0.7431 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.4434, allocations: 11.27 kB / 0.7431 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.117e-05/0.4435, allocations: 105.7 kB / 0.7432 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.4435, allocations: 9.656 kB / 0.7433 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.4435, allocations: 2.203 kB / 0.7433 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.4436, allocations: 66.77 kB / 0.7433 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.4436, allocations: 0.8906 kB / 0.7433 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.4437, allocations: 3.938 kB / 0.7433 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.4437, allocations: 1.844 kB / 0.7433 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.637e-05/0.4437, allocations: 11.05 kB / 0.7433 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001078/0.4438, allocations: 104.7 kB / 0.7434 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.444, allocations: 52.3 kB / 0.7435 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.067e-05/0.444, allocations: 21.52 kB / 0.7435 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.444, allocations: 0 / 0.7435 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.444, allocations: 33.19 kB / 0.7435 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.444, allocations: 0 / 0.7435 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=6): time 0.000525/0.4446, allocations: 240.4 kB / 0.7438 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/0.4446, allocations: 53.16 kB / 0.7438 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.721e-05/0.4446, allocations: 98.78 kB / 0.7439 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.4446, allocations: 27.7 kB / 0.7439 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 1.756e-05/0.4447, allocations: 85.3 kB / 0.744 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.4447, allocations: 20.25 kB / 0.744 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.4447, allocations: 24.91 kB / 0.7441 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.63e-05/0.4448, allocations: 317.9 kB / 0.7444 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.37e-05/0.4448, allocations: 7.359 kB / 0.7444 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.215e-05/0.4448, allocations: 19.19 kB / 0.7444 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.395e-05/0.4449, allocations: 37.81 kB / 0.7444 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4449, allocations: 0.75 kB / 0.7444 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.267e-05/0.4449, allocations: 67.8 kB / 0.7445 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.445, allocations: 6.297 kB / 0.7445 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.445, allocations: 3.938 kB / 0.7445 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.445, allocations: 1.781 kB / 0.7445 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.682e-05/0.445, allocations: 10.56 kB / 0.7445 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.445, allocations: 4 kB / 0.7445 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.885e-05/0.445, allocations: 2.438 kB / 0.7445 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.4451, allocations: 5.781 kB / 0.7445 GB, free: 14.36 MB / 0.5919 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 5.571e-05/0.4451, allocations: 116.2 kB / 0.7446 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.4451, allocations: 1.781 kB / 0.7446 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.4452, allocations: 73.44 kB / 0.7447 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4452, allocations: 0.7031 kB / 0.7447 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.4453, allocations: 1.781 kB / 0.7447 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4453, allocations: 0.6562 kB / 0.7447 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.4455, allocations: 265.2 kB / 0.745 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4455, allocations: 3.938 kB / 0.745 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.986e-05/0.4455, allocations: 15.81 kB / 0.745 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4455, allocations: 1.375 kB / 0.745 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.4456, allocations: 0.75 kB / 0.745 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4456, allocations: 1.375 kB / 0.745 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4456, allocations: 5.312 kB / 0.745 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.4457, allocations: 172.9 kB / 0.7452 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.4457, allocations: 8.891 kB / 0.7452 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.4457, allocations: 2.078 kB / 0.7452 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.4458, allocations: 2.078 kB / 0.7452 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.4458, allocations: 13.14 kB / 0.7452 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.4458, allocations: 5.375 kB / 0.7452 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 1.892e-05/0.4458, allocations: 83.56 kB / 0.7453 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4458, allocations: 5.312 kB / 0.7453 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000229/0.4461, allocations: 22.42 kB / 0.7453 GB, free: 13.65 MB / 0.5919 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.0001235/0.4462, allocations: 123.4 kB / 0.7454 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.621e-05/0.4463, allocations: 26.2 kB / 0.7454 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4463, allocations: 5.375 kB / 0.7454 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.491e-05/0.4463, allocations: 19.44 kB / 0.7455 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.4465, allocations: 11.53 kB / 0.7455 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.4469, allocations: 189.5 kB / 0.7457 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.031e-05/0.4469, allocations: 67.55 kB / 0.7457 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.684e-05/0.4469, allocations: 9.484 kB / 0.7457 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.775e-05/0.4469, allocations: 15.19 kB / 0.7457 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.4469, allocations: 0 / 0.7457 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of Templates: time 0.003246/0.4502, allocations: 0.6511 MB / 0.7464 GB, free: 13.2 MB / 0.5919 GB " [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=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.561846676981077] Failed to read output from testmodel.py, exit status != 0: 0.45793113799300045 0.468328057 0.022858255 Calling exit ...