Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0008542/0.0008542, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.0007728/0.0007728, allocations: 165.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 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 0.8933/0.8933, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5738/0.5738, allocations: 114 MB / 374.7 MB, free: 8.719 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.5554 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.874e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.0024/0.002429, allocations: 1.3 MB / 0.5567 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.00371, allocations: 0.5487 MB / 0.5572 GB, free: 440 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.003744, allocations: 0 / 0.5572 GB, free: 440 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.003769, allocations: 3.938 kB / 0.5572 GB, free: 436 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.194e-05/0.003811, allocations: 0 / 0.5572 GB, free: 436 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.004362, allocations: 151.2 kB / 0.5574 GB, free: 284 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.37e-05/0.004436, allocations: 23.92 kB / 0.5574 GB, free: 260 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 5.62e-05/0.004492, allocations: 7.984 kB / 0.5574 GB, free: 252 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.958e-05/0.004542, allocations: 23.91 kB / 0.5574 GB, free: 228 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.246e-05/0.004604, allocations: 8 kB / 0.5574 GB, free: 220 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.004622, allocations: 0 / 0.5574 GB, free: 220 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003973/0.005019, allocations: 271.5 kB / 0.5577 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.005037, allocations: 7.906 kB / 0.5577 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.005062, allocations: 7.984 kB / 0.5577 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.005337, allocations: 171.4 kB / 0.5579 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.005339, allocations: 0 / 0.5579 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.42e-07/0.00534, allocations: 0 / 0.5579 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.005345, allocations: 0 / 0.5579 GB, free: 15.77 MB / 0.5261 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.0004341/0.005779, allocations: 294 kB / 0.5582 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.005827, allocations: 8.031 kB / 0.5582 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.005876, allocations: 12.89 kB / 0.5582 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.005981, allocations: 113.7 kB / 0.5583 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.005995, allocations: 384 / 0.5583 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.006025, allocations: 4.375 kB / 0.5583 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.006183, allocations: 105.6 kB / 0.5584 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.006199, allocations: 3.938 kB / 0.5584 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.006212, allocations: 0 / 0.5584 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.006221, allocations: 3.984 kB / 0.5584 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.893e-05/0.006279, allocations: 23.98 kB / 0.5584 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.006447, allocations: 113.3 kB / 0.5585 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.006561, allocations: 54.56 kB / 0.5586 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/0.00661, allocations: 32.78 kB / 0.5586 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.006632, allocations: 0 / 0.5586 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.006659, allocations: 30.56 kB / 0.5586 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.00666, allocations: 4 kB / 0.5586 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0009962/0.007656, allocations: 458.6 kB / 0.5591 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.007689, allocations: 51.41 kB / 0.5591 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.162e-05/0.00775, allocations: 93.86 kB / 0.5592 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.007767, allocations: 29.7 kB / 0.5592 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.007801, allocations: 84.14 kB / 0.5593 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.007846, allocations: 43.62 kB / 0.5594 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.007892, allocations: 25.72 kB / 0.5594 GB, free: 14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.007998, allocations: 318.8 kB / 0.5597 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.34e-05/0.008042, allocations: 23.98 kB / 0.5597 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.075e-05/0.008082, allocations: 27.38 kB / 0.5597 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.86e-05/0.008181, allocations: 60.84 kB / 0.5598 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.008182, allocations: 0 / 0.5598 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001524/0.008335, allocations: 97.56 kB / 0.5599 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.00835, allocations: 4 kB / 0.5599 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.008356, allocations: 4 kB / 0.5599 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.008372, allocations: 0 / 0.5599 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.008481, allocations: 19.98 kB / 0.5599 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.008487, allocations: 0 / 0.5599 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.328e-05/0.00851, allocations: 8 kB / 0.5599 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.008518, allocations: 0 / 0.5599 GB, free: 13.43 MB / 0.5261 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.03e-05/0.008598, allocations: 125.7 kB / 0.56 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.008614, allocations: 11.89 kB / 0.5601 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.008799, allocations: 102.1 kB / 0.5602 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.008801, allocations: 4 kB / 0.5602 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.008807, allocations: 0 / 0.5602 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.008811, allocations: 0 / 0.5602 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.009177, allocations: 294.1 kB / 0.5604 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.009181, allocations: 3.984 kB / 0.5604 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.009289, allocations: 20 kB / 0.5605 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.009292, allocations: 0 / 0.5605 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.009301, allocations: 8 kB / 0.5605 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.009302, allocations: 0 / 0.5605 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.009303, allocations: 0 / 0.5605 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.009539, allocations: 219.3 kB / 0.5607 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.009548, allocations: 11.92 kB / 0.5607 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.009565, allocations: 4 kB / 0.5607 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.009634, allocations: 0 / 0.5607 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.009654, allocations: 7.984 kB / 0.5607 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.058e-06/0.009663, allocations: 8.094 kB / 0.5607 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.78e-05/0.009691, allocations: 83.2 kB / 0.5608 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009691, allocations: 160 / 0.5608 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002496/0.009941, allocations: 43.88 kB / 0.5608 GB, free: 12.43 MB / 0.5261 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.0001705/0.01011, allocations: 131.1 kB / 0.561 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.01024, allocations: 62.53 kB / 0.561 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01025, allocations: 0 / 0.561 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.14e-05/0.01029, allocations: 38.44 kB / 0.5611 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.01051, allocations: 7.938 kB / 0.5611 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.01098, allocations: 254.4 kB / 0.5613 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.852e-05/0.01103, allocations: 79.28 kB / 0.5614 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.01106, allocations: 16.5 kB / 0.5614 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of SimCode: time 3.3e-07/0.01106, allocations: 0 / 0.5614 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.002369/0.01343, allocations: 1.159 MB / 0.5625 GB, free: 10.65 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.849033962003887] Failed to read output from testmodel.py, exit status != 0: 0.019778622314333916 0.028486214000000003 0.021626417000000002 Calling exit ...