Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.001399/0.001399, allocations: 121.3 kB / 17.81 MB, free: 5.273 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.001734/0.001734, allocations: 193.4 kB / 20.74 MB, free: 2.344 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.407/1.407, allocations: 225.6 MB / 249.1 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8453/0.8453, allocations: 128.4 MB / 432.4 MB, free: 13.14 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.89 kB / 0.5987 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3906, allocations: 83.26 MB / 0.68 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001938/0.3926, allocations: 1.287 MB / 0.6813 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008052/0.3934, allocations: 0.6082 MB / 0.6819 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.3934, allocations: 0 / 0.6819 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.3934, allocations: 3.938 kB / 0.6819 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.132e-05/0.3934, allocations: 5.297 kB / 0.6819 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.3939, allocations: 141.4 kB / 0.682 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.708e-05/0.394, allocations: 26 kB / 0.682 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.394, allocations: 5.094 kB / 0.682 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.655e-05/0.3941, allocations: 13.11 kB / 0.6821 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.853e-05/0.3941, allocations: 10.55 kB / 0.6821 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.3941, allocations: 1.375 kB / 0.6821 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004465/0.3946, allocations: 337.5 kB / 0.6824 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.3946, allocations: 9.078 kB / 0.6824 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.3946, allocations: 16.11 kB / 0.6824 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.3948, allocations: 139.8 kB / 0.6826 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3948, allocations: 0 / 0.6826 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3948, allocations: 0 / 0.6826 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.3948, allocations: 0 / 0.6826 GB, free: 5.133 MB / 0.4981 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.0003847/0.3952, allocations: 366.7 kB / 0.6829 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3953, allocations: 13.94 kB / 0.6829 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.3953, allocations: 5.953 kB / 0.6829 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.948e-05/0.3954, allocations: 161.5 kB / 0.6831 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.3954, allocations: 1.469 kB / 0.6831 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.3954, allocations: 2.562 kB / 0.6831 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.3955, allocations: 43.5 kB / 0.6831 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3955, allocations: 1.062 kB / 0.6831 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3956, allocations: 4 kB / 0.6831 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3956, allocations: 1.094 kB / 0.6831 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.649e-05/0.3956, allocations: 13.7 kB / 0.6831 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.3957, allocations: 155.3 kB / 0.6833 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.3959, allocations: 50.67 kB / 0.6833 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.13e-05/0.3959, allocations: 15.64 kB / 0.6834 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.396, allocations: 5.094 kB / 0.6834 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.396, allocations: 39.66 kB / 0.6834 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.396, allocations: 0 / 0.6834 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005359/0.3965, allocations: 314.9 kB / 0.6837 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.3965, allocations: 52.53 kB / 0.6837 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.982e-05/0.3966, allocations: 97.48 kB / 0.6838 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.3966, allocations: 30.8 kB / 0.6839 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.663e-05/0.3966, allocations: 81.36 kB / 0.6839 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.3966, allocations: 25.97 kB / 0.684 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.3967, allocations: 19.34 kB / 0.684 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.001e-05/0.3967, allocations: 312.1 kB / 0.6843 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.3967, allocations: 13.7 kB / 0.6843 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.155e-05/0.3967, allocations: 10.84 kB / 0.6843 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.279e-05/0.3968, allocations: 32.09 kB / 0.6843 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3968, allocations: 0.875 kB / 0.6843 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.761e-05/0.3969, allocations: 72.45 kB / 0.6844 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3969, allocations: 11.59 kB / 0.6844 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3969, allocations: 0 / 0.6844 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3969, allocations: 1.188 kB / 0.6844 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.2e-05/0.397, allocations: 18.02 kB / 0.6844 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.397, allocations: 0 / 0.6844 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.7e-05/0.397, allocations: 0 / 0.6844 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.397, allocations: 6.469 kB / 0.6844 GB, free: 3.141 MB / 0.4981 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.631e-05/0.397, allocations: 116.5 kB / 0.6846 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.3971, allocations: 5.297 kB / 0.6846 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.3972, allocations: 74.17 kB / 0.6846 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3972, allocations: 5.188 kB / 0.6846 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3972, allocations: 0 / 0.6846 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3972, allocations: 1.375 kB / 0.6846 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.3974, allocations: 311.3 kB / 0.6849 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3974, allocations: 1.625 kB / 0.6849 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.196e-05/0.3975, allocations: 21.3 kB / 0.685 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.3975, allocations: 1.75 kB / 0.685 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.3975, allocations: 0 / 0.685 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3975, allocations: 5.094 kB / 0.685 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3975, allocations: 1.156 kB / 0.685 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.3976, allocations: 173.2 kB / 0.6851 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.3977, allocations: 87.27 kB / 0.6852 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.3977, allocations: 6.094 kB / 0.6852 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.126e-05/0.3977, allocations: 1.031 kB / 0.6852 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.3978, allocations: 14.66 kB / 0.6852 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.3978, allocations: 6.25 kB / 0.6852 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.842e-05/0.3978, allocations: 85.52 kB / 0.6853 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3978, allocations: 1.344 kB / 0.6853 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002419/0.398, allocations: 26.22 kB / 0.6853 GB, free: 2.223 MB / 0.4981 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.0001493/0.3982, allocations: 114.5 kB / 0.6855 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.3983, allocations: 32.08 kB / 0.6855 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3983, allocations: 0 / 0.6855 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.785e-05/0.3983, allocations: 22.77 kB / 0.6855 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.3985, allocations: 6.312 kB / 0.6855 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.3989, allocations: 228 kB / 0.6857 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.154e-05/0.399, allocations: 0.6793 MB / 0.6864 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.399, allocations: 11.34 kB / 0.6864 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.399, allocations: 0 / 0.6864 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of Templates: time 0.002179/0.4012, allocations: 0.7894 MB / 0.6872 GB, free: 0.7891 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.5888449780177325] Failed to read output from testmodel.py, exit status != 0: 0.4085084230173379 0.42119523699999994 0.023596525 Calling exit ...