Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001541/0.001541, allocations: 78.09 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.001393/0.001393, allocations: 156.1 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.333/1.333, allocations: 177.2 MB / 203.4 MB, free: 8.957 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.00233/0.00233, allocations: 233.9 kB / 260 MB, free: 424 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.8728/0.8728, allocations: 138.5 MB / 455 MB, free: 15.07 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.002881/0.002881, allocations: 103.8 kB / 0.6473 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4071, allocations: 95.35 MB / 0.7405 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002409/0.4095, allocations: 1.279 MB / 0.7417 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0009153/0.4104, allocations: 0.55 MB / 0.7422 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.4104, allocations: 0 / 0.7422 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.4104, allocations: 4 kB / 0.7422 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.188e-05/0.4105, allocations: 6.281 kB / 0.7423 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000563/0.411, allocations: 152.1 kB / 0.7424 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.224e-05/0.4111, allocations: 19.84 kB / 0.7424 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.4111, allocations: 6.812 kB / 0.7424 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.277e-05/0.4112, allocations: 5.328 kB / 0.7424 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.226e-05/0.4112, allocations: 9.75 kB / 0.7424 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.4112, allocations: 1.219 kB / 0.7424 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004384/0.4117, allocations: 271.1 kB / 0.7427 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.4117, allocations: 6.203 kB / 0.7427 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.4117, allocations: 8.734 kB / 0.7427 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.412, allocations: 137.7 kB / 0.7428 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.412, allocations: 0 / 0.7428 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.412, allocations: 0 / 0.7428 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.412, allocations: 4.969 kB / 0.7429 GB, free: 15.97 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.0003228/0.4123, allocations: 281.5 kB / 0.7431 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.4123, allocations: 10.31 kB / 0.7431 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.4123, allocations: 10.11 kB / 0.7431 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.163e-05/0.4124, allocations: 106.2 kB / 0.7432 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.4124, allocations: 10.73 kB / 0.7433 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.4124, allocations: 5.656 kB / 0.7433 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.394e-05/0.4125, allocations: 66.44 kB / 0.7433 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.4125, allocations: 192 / 0.7433 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.4126, allocations: 3.938 kB / 0.7433 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.4126, allocations: 1.828 kB / 0.7433 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.907e-05/0.4126, allocations: 8.578 kB / 0.7433 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.873e-05/0.4127, allocations: 103.4 kB / 0.7434 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.4129, allocations: 48.09 kB / 0.7435 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.688e-05/0.4129, allocations: 16.47 kB / 0.7435 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.4129, allocations: 6.156 kB / 0.7435 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.22e-05/0.4129, allocations: 32.56 kB / 0.7435 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.4129, allocations: 0 / 0.7435 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=6): time 0.0004875/0.4134, allocations: 240.4 kB / 0.7438 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.653e-05/0.4134, allocations: 53.91 kB / 0.7438 GB, free: 15 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.635e-05/0.4135, allocations: 95.22 kB / 0.7439 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.4135, allocations: 30.22 kB / 0.7439 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 1.232e-05/0.4135, allocations: 81.95 kB / 0.744 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.4135, allocations: 19.69 kB / 0.744 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.4135, allocations: 20.23 kB / 0.744 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.441e-05/0.4136, allocations: 318.4 kB / 0.7444 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.4136, allocations: 12.3 kB / 0.7444 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.006e-05/0.4136, allocations: 19.66 kB / 0.7444 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.778e-05/0.4137, allocations: 37.62 kB / 0.7444 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.4137, allocations: 0.5156 kB / 0.7444 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.293e-05/0.4138, allocations: 72.31 kB / 0.7445 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.4138, allocations: 5.5 kB / 0.7445 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4138, allocations: 3.938 kB / 0.7445 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.4138, allocations: 1.984 kB / 0.7445 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.861e-05/0.4138, allocations: 14.92 kB / 0.7445 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.4138, allocations: 4 kB / 0.7445 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.759e-05/0.4139, allocations: 2.266 kB / 0.7445 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.4139, allocations: 1.375 kB / 0.7445 GB, free: 14.33 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 4.266e-05/0.4139, allocations: 121.3 kB / 0.7446 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.4139, allocations: 1.375 kB / 0.7446 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.414, allocations: 72.67 kB / 0.7447 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.414, allocations: 1.375 kB / 0.7447 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.414, allocations: 0 / 0.7447 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.414, allocations: 1.938 kB / 0.7447 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.4143, allocations: 261.6 kB / 0.745 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4143, allocations: 7.969 kB / 0.745 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.016e-05/0.4143, allocations: 11.28 kB / 0.745 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4143, allocations: 1.312 kB / 0.745 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.4143, allocations: 2.047 kB / 0.745 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4143, allocations: 1.156 kB / 0.745 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4143, allocations: 3.938 kB / 0.745 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.4145, allocations: 173.3 kB / 0.7451 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.4145, allocations: 8.859 kB / 0.7452 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.4145, allocations: 6.328 kB / 0.7452 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.4146, allocations: 2.438 kB / 0.7452 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.4146, allocations: 7.75 kB / 0.7452 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.4146, allocations: 6.531 kB / 0.7452 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 1.904e-05/0.4146, allocations: 79.61 kB / 0.7453 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.4146, allocations: 0 / 0.7453 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002457/0.4149, allocations: 28.48 kB / 0.7453 GB, free: 13.62 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001311/0.415, allocations: 122 kB / 0.7454 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.827e-05/0.4151, allocations: 31.16 kB / 0.7454 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4151, allocations: 0 / 0.7454 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.552e-05/0.4151, allocations: 20.56 kB / 0.7454 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.4153, allocations: 14.41 kB / 0.7455 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.4156, allocations: 190.2 kB / 0.7456 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.859e-05/0.4157, allocations: 68.95 kB / 0.7457 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.633e-05/0.4157, allocations: 7.359 kB / 0.7457 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.4157, allocations: 16.14 kB / 0.7457 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.4157, allocations: 5.344 kB / 0.7457 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of Templates: time 0.003226/0.419, allocations: 0.6217 MB / 0.7463 GB, free: 13.17 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.508413442992605] Failed to read output from testmodel.py, exit status != 0: 0.4263474360341206 0.437515456 0.023101942 Calling exit ...