Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.001333/0.001333, allocations: 78.25 kB / 19.76 MB, free: 2.031 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.001399/0.001399, allocations: 158.2 kB / 23.01 MB, free: 4.945 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.334/1.334, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.002247/0.002247, allocations: 226.2 kB / 260 MB, free: 452 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.8866/0.8866, allocations: 138.5 MB / 455 MB, free: 15.09 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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [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.00307/0.00307, allocations: 99.86 kB / 0.6473 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4072, allocations: 95.35 MB / 0.7405 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001923/0.4091, allocations: 1.294 MB / 0.7417 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0008336/0.4099, allocations: 0.5472 MB / 0.7423 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.41, allocations: 4.906 kB / 0.7423 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.41, allocations: 3.938 kB / 0.7423 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 3.723e-05/0.41, allocations: 1.922 kB / 0.7423 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.4105, allocations: 150.7 kB / 0.7424 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.23e-05/0.4106, allocations: 29.72 kB / 0.7424 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.4106, allocations: 2.891 kB / 0.7424 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 2.141e-05/0.4106, allocations: 14.91 kB / 0.7425 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.305e-05/0.4107, allocations: 11.84 kB / 0.7425 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.4107, allocations: 5.406 kB / 0.7425 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004228/0.4111, allocations: 269.5 kB / 0.7427 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.4112, allocations: 10.75 kB / 0.7427 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.142e-05/0.4112, allocations: 6.812 kB / 0.7427 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.4114, allocations: 150.4 kB / 0.7429 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4114, allocations: 0 / 0.7429 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4114, allocations: 0 / 0.7429 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.4114, allocations: 0 / 0.7429 GB, free: 15.96 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000326/0.4118, allocations: 297.7 kB / 0.7432 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.4118, allocations: 12.25 kB / 0.7432 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.4118, allocations: 10.61 kB / 0.7432 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.897e-05/0.4119, allocations: 105.8 kB / 0.7433 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.4119, allocations: 6.281 kB / 0.7433 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.4119, allocations: 3.906 kB / 0.7433 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.412, allocations: 102.7 kB / 0.7434 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.412, allocations: 4.125 kB / 0.7434 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4121, allocations: 5.719 kB / 0.7434 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.4121, allocations: 0 / 0.7434 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.502e-05/0.4121, allocations: 18.64 kB / 0.7434 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001068/0.4122, allocations: 115.8 kB / 0.7435 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.685e-05/0.4123, allocations: 54.22 kB / 0.7436 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.658e-05/0.4123, allocations: 27.86 kB / 0.7436 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.4124, allocations: 1.281 kB / 0.7436 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.4124, allocations: 41.73 kB / 0.7437 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.4124, allocations: 0 / 0.7437 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0009147/0.4133, allocations: 460.5 kB / 0.7441 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.592e-05/0.4133, allocations: 52.59 kB / 0.7442 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.054e-05/0.4134, allocations: 98.25 kB / 0.7442 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.4134, allocations: 31.05 kB / 0.7443 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 1.371e-05/0.4134, allocations: 81.73 kB / 0.7444 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.4134, allocations: 43.58 kB / 0.7444 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.4135, allocations: 31.5 kB / 0.7444 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.188e-05/0.4135, allocations: 315.2 kB / 0.7447 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.114e-05/0.4135, allocations: 22.42 kB / 0.7447 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.654e-05/0.4136, allocations: 20.17 kB / 0.7448 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.721e-05/0.4137, allocations: 63.09 kB / 0.7448 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.4137, allocations: 0 / 0.7448 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001264/0.4138, allocations: 96.92 kB / 0.7449 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.4138, allocations: 13.12 kB / 0.7449 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.4138, allocations: 0.5156 kB / 0.7449 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4138, allocations: 1.156 kB / 0.7449 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.96e-05/0.4139, allocations: 20.66 kB / 0.745 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.4139, allocations: 2.094 kB / 0.745 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.306e-05/0.4139, allocations: 4.031 kB / 0.745 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.414, allocations: 11.75 kB / 0.745 GB, free: 14.07 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 (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.67e-05/0.414, allocations: 116.7 kB / 0.7451 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.414, allocations: 10.98 kB / 0.7451 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.4142, allocations: 102.5 kB / 0.7452 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4142, allocations: 1.844 kB / 0.7452 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4142, allocations: 0 / 0.7452 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4142, allocations: 1.031 kB / 0.7452 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.4145, allocations: 296.2 kB / 0.7455 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4145, allocations: 2.031 kB / 0.7455 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.4146, allocations: 19.23 kB / 0.7455 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4146, allocations: 0.6562 kB / 0.7455 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.4146, allocations: 1.312 kB / 0.7455 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4146, allocations: 2.406 kB / 0.7455 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4146, allocations: 0 / 0.7455 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.4148, allocations: 228.7 kB / 0.7457 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-06/0.4148, allocations: 5.891 kB / 0.7457 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.4148, allocations: 6.078 kB / 0.7457 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.524e-05/0.4149, allocations: 5.984 kB / 0.7457 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.738e-05/0.4149, allocations: 7.641 kB / 0.7457 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.4149, allocations: 7.312 kB / 0.7457 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 1.544e-05/0.4149, allocations: 77.45 kB / 0.7458 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.4149, allocations: 0 / 0.7458 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000262/0.4152, allocations: 37.89 kB / 0.7459 GB, free: 13.34 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0001549/0.4154, allocations: 137.1 kB / 0.746 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.4155, allocations: 58.69 kB / 0.746 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4155, allocations: 0 / 0.746 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.555e-05/0.4155, allocations: 36.12 kB / 0.7461 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.4158, allocations: 15.84 kB / 0.7461 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.4162, allocations: 269.8 kB / 0.7464 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.438e-05/0.4162, allocations: 81.47 kB / 0.7464 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.892e-05/0.4163, allocations: 10.86 kB / 0.7464 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.4163, allocations: 14.66 kB / 0.7465 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.4163, allocations: 0 / 0.7465 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of Templates: time 0.003561/0.4199, allocations: 0.9232 MB / 0.7474 GB, free: 12.78 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.546359553001821] Failed to read output from testmodel.py, exit status != 0: 0.4274003930622712 0.438010965 0.02421038 Calling exit ...