Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.001568/0.001568, allocations: 111.3 kB / 17.08 MB, free: 5.984 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.001598/0.001598, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.429/1.429, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.668/2.668, allocations: 437.1 MB / 0.7177 GB, free: 4.566 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.|err_m_flow|err_der_m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.|err_m_flow|err_der_m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 68.08 kB / 1.028 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3149, allocations: 151.6 MB / 1.176 GB, free: 5.934 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002408/0.3174, allocations: 1.282 MB / 1.177 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.3185, allocations: 0.6154 MB / 1.178 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.884e-05/0.3185, allocations: 0 / 1.178 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.85e-05/0.3185, allocations: 7.922 kB / 1.178 GB, free: 4.008 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.682e-05/0.3186, allocations: 0 / 1.178 GB, free: 4.008 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005457/0.3191, allocations: 159.2 kB / 1.178 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.587e-05/0.3192, allocations: 27.86 kB / 1.178 GB, free: 3.828 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.3193, allocations: 3.938 kB / 1.178 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.724e-05/0.3193, allocations: 15.92 kB / 1.178 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.281e-05/0.3194, allocations: 19.91 kB / 1.178 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.3194, allocations: 4 kB / 1.178 GB, free: 3.785 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005216/0.3199, allocations: 339.3 kB / 1.178 GB, free: 3.453 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.3199, allocations: 8 kB / 1.178 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.32, allocations: 15.92 kB / 1.178 GB, free: 3.43 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.3202, allocations: 155.5 kB / 1.178 GB, free: 3.277 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3203, allocations: 0 / 1.178 GB, free: 3.277 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3203, allocations: 0 / 1.178 GB, free: 3.277 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.852e-06/0.3203, allocations: 0 / 1.178 GB, free: 3.277 MB / 0.92 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.0004785/0.3208, allocations: 371 kB / 1.179 GB, free: 2.863 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.3208, allocations: 8.031 kB / 1.179 GB, free: 2.855 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.3208, allocations: 4.938 kB / 1.179 GB, free: 2.852 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.321, allocations: 168.3 kB / 1.179 GB, free: 2.648 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.321, allocations: 12.38 kB / 1.179 GB, free: 2.637 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.321, allocations: 4.359 kB / 1.179 GB, free: 2.633 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.3212, allocations: 54.23 kB / 1.179 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3212, allocations: 192 / 1.179 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.3212, allocations: 3.938 kB / 1.179 GB, free: 2.57 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.3212, allocations: 7.938 kB / 1.179 GB, free: 2.562 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.123e-05/0.3213, allocations: 19.92 kB / 1.179 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.3215, allocations: 161.7 kB / 1.179 GB, free: 2.336 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.3216, allocations: 62.56 kB / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.3217, allocations: 32.83 kB / 1.179 GB, free: 2.23 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.3217, allocations: 0 / 1.179 GB, free: 2.23 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.3217, allocations: 30.56 kB / 1.179 GB, free: 2.191 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.3217, allocations: 4 kB / 1.179 GB, free: 2.188 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.001162/0.3229, allocations: 0.5878 MB / 1.18 GB, free: 1.508 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.323, allocations: 59.34 kB / 1.18 GB, free: 1.438 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/0.323, allocations: 97.94 kB / 1.18 GB, free: 1.332 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.3231, allocations: 33.64 kB / 1.18 GB, free: 1.293 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.3231, allocations: 80.14 kB / 1.18 GB, free: 1.211 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.3232, allocations: 35.69 kB / 1.18 GB, free: 1.176 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.3232, allocations: 29.84 kB / 1.18 GB, free: 1.141 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3234, allocations: 322.8 kB / 1.181 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-05/0.3234, allocations: 16 kB / 1.181 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.204e-05/0.3234, allocations: 23.98 kB / 1.181 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.3236, allocations: 56.84 kB / 1.181 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3236, allocations: 0 / 1.181 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001548/0.3237, allocations: 101.6 kB / 1.181 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3238, allocations: 8 kB / 1.181 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3238, allocations: 3.938 kB / 1.181 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3238, allocations: 4 kB / 1.181 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3239, allocations: 19.98 kB / 1.181 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3239, allocations: 4 kB / 1.181 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.3239, allocations: 4 kB / 1.181 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.3239, allocations: 4 kB / 1.181 GB, free: 0.5664 MB / 0.92 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 8.895e-05/0.324, allocations: 113.8 kB / 1.181 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.3241, allocations: 7.938 kB / 1.181 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.3243, allocations: 113.5 kB / 1.181 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3243, allocations: 8 kB / 1.181 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.3243, allocations: 0 / 1.181 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.3243, allocations: 0 / 1.181 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.3248, allocations: 358.6 kB / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3248, allocations: 0 / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.3249, allocations: 19.98 kB / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.3249, allocations: 0 / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3249, allocations: 7.938 kB / 1.181 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3249, allocations: 80 / 1.181 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3249, allocations: 3.984 kB / 1.181 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.3252, allocations: 215.4 kB / 1.182 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.3253, allocations: 81.14 kB / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.3253, allocations: 7.984 kB / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.508e-05/0.3254, allocations: 3.938 kB / 1.182 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.3254, allocations: 4 kB / 1.182 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.3254, allocations: 4 kB / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.111e-05/0.3255, allocations: 87.33 kB / 1.182 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3255, allocations: 8.031 kB / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000275/0.3258, allocations: 35.88 kB / 1.182 GB, free: 15.39 MB / 0.9356 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.0002698/0.326, allocations: 131 kB / 1.182 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001704/0.3262, allocations: 67.61 kB / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3262, allocations: 0 / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.599e-05/0.3263, allocations: 35.98 kB / 1.182 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.3265, allocations: 5.422 kB / 1.182 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006745/0.3272, allocations: 328.7 kB / 1.182 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.3276, allocations: 0.6807 MB / 1.183 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.3276, allocations: 15.44 kB / 1.183 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.3276, allocations: 0 / 1.183 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of Templates: time 0.003096/0.3307, allocations: 1.132 MB / 1.184 GB, free: 12.96 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 10.29299266205635] Failed to read output from testmodel.py, exit status != 0: 0.33797839493490756 0.35142405299999996 0.028368572 Calling exit ...