Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_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.001103/0.001103, allocations: 81.16 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001741/0.002844, allocations: 451.9 kB / 10.45 MB, free: 244 kB / 10.45 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.001118/0.001118, allocations: 157.2 kB / 11.35 MB, free: 2.824 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001507/0.002626, allocations: 483.5 kB / 11.82 MB, free: 2.348 MB / 13.93 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.006/1.006, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08452/1.091, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.6729/0.6729, allocations: 120.1 MB / 364.3 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06966/0.7426, allocations: 38.16 MB / 402.4 MB, free: 12.26 MB / 394.7 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.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_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 403.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.989e-05, allocations: 2.312 kB / 403.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.002168/0.002188, allocations: 1.439 MB / 405.2 MB, free: 9.449 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006883/0.002877, allocations: 0.6115 MB / 405.8 MB, free: 8.836 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.482e-05/0.002901, allocations: 0 / 405.8 MB, free: 8.836 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 8.586e-06/0.00291, allocations: 4 kB / 405.8 MB, free: 8.832 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.485e-05/0.002935, allocations: 4 kB / 405.8 MB, free: 8.828 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.003344, allocations: 163.2 kB / 406 MB, free: 8.668 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 6.664e-05/0.00341, allocations: 31.84 kB / 406 MB, free: 8.637 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.108e-05/0.003451, allocations: 7.938 kB / 406 MB, free: 8.629 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.426e-05/0.003506, allocations: 15.98 kB / 406 MB, free: 8.613 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.757e-05/0.003573, allocations: 19.91 kB / 406.1 MB, free: 8.594 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.003584, allocations: 0 / 406.1 MB, free: 8.594 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004051/0.003989, allocations: 331.4 kB / 406.4 MB, free: 8.27 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.00401, allocations: 4 kB / 406.4 MB, free: 8.266 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.796e-05/0.004028, allocations: 8 kB / 406.4 MB, free: 8.258 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.004235, allocations: 143.5 kB / 406.5 MB, free: 8.117 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.37e-05/0.004249, allocations: 0 / 406.5 MB, free: 8.117 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004249, allocations: 0 / 406.5 MB, free: 8.117 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.004257, allocations: 0 / 406.5 MB, free: 8.117 MB / 394.7 MB 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.0003694/0.004626, allocations: 280.3 kB / 406.8 MB, free: 7.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.004661, allocations: 12.03 kB / 406.8 MB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.004693, allocations: 4.938 kB / 406.8 MB, free: 7.805 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.281e-05/0.004775, allocations: 121.6 kB / 407 MB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.004788, allocations: 8.375 kB / 407 MB, free: 7.652 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.004814, allocations: 4.375 kB / 407 MB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.004919, allocations: 97.64 kB / 407.1 MB, free: 7.535 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.004929, allocations: 3.938 kB / 407.1 MB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.004936, allocations: 0 / 407.1 MB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.004942, allocations: 0 / 407.1 MB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.552e-05/0.004967, allocations: 15.92 kB / 407.1 MB, free: 7.516 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.945e-05/0.005057, allocations: 69.05 kB / 407.1 MB, free: 7.434 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.71e-05/0.005134, allocations: 54.56 kB / 407.2 MB, free: 7.371 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.803e-05/0.005152, allocations: 16.86 kB / 407.2 MB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.005172, allocations: 4 kB / 407.2 MB, free: 7.348 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.005193, allocations: 30.56 kB / 407.3 MB, free: 7.309 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.295e-06/0.005196, allocations: 3.984 kB / 407.3 MB, free: 7.305 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008393/0.006035, allocations: 471.5 kB / 407.7 MB, free: 6.789 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.006062, allocations: 55.41 kB / 407.8 MB, free: 6.723 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.204e-05/0.006114, allocations: 94.72 kB / 407.9 MB, free: 6.617 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.006127, allocations: 33.7 kB / 407.9 MB, free: 6.578 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.048e-05/0.006147, allocations: 80.14 kB / 408 MB, free: 6.496 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.006183, allocations: 43.62 kB / 408 MB, free: 6.453 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.006216, allocations: 25.7 kB / 408 MB, free: 6.422 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.635e-05/0.006292, allocations: 318.8 kB / 408.4 MB, free: 6.102 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.006307, allocations: 8 kB / 408.4 MB, free: 6.094 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.587e-05/0.006323, allocations: 16.11 kB / 408.4 MB, free: 6.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.156e-05/0.006365, allocations: 32.83 kB / 408.4 MB, free: 6.043 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.006365, allocations: 0 / 408.4 MB, free: 6.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.585e-05/0.006441, allocations: 81.61 kB / 408.5 MB, free: 5.957 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.006453, allocations: 4 kB / 408.5 MB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.006459, allocations: 3.938 kB / 408.5 MB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/0.006467, allocations: 0 / 408.5 MB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.663e-05/0.006543, allocations: 27.98 kB / 408.5 MB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.006546, allocations: 0 / 408.5 MB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.323e-05/0.006559, allocations: 0 / 408.5 MB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.006565, allocations: 0 / 408.5 MB, free: 5.922 MB / 394.7 MB 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 5.63e-05/0.006621, allocations: 125.8 kB / 408.6 MB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.006632, allocations: 8 kB / 408.7 MB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.006741, allocations: 85.66 kB / 408.7 MB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.006743, allocations: 0 / 408.7 MB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.006744, allocations: 0 / 408.7 MB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.006749, allocations: 0 / 408.7 MB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.006985, allocations: 222.8 kB / 409 MB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.006987, allocations: 0 / 409 MB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.673e-05/0.007064, allocations: 23.98 kB / 409 MB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.219e-05/0.007076, allocations: 15.89 kB / 409 MB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.007078, allocations: 4 kB / 409 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.007085, allocations: 0 / 409 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.007086, allocations: 0 / 409 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.007087, allocations: 0 / 409 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.007229, allocations: 183.4 kB / 409.2 MB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.007241, allocations: 7.938 kB / 409.2 MB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.143e-05/0.007283, allocations: 4 kB / 409.2 MB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.467e-05/0.007298, allocations: 7.984 kB / 409.2 MB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.007302, allocations: 0 / 409.2 MB, free: 5.195 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.2e-05/0.007314, allocations: 12.84 kB / 409.2 MB, free: 5.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007314, allocations: 4.125 kB / 409.2 MB, free: 5.176 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002097/0.007524, allocations: 59.75 kB / 409.3 MB, free: 5.117 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.000193/0.007717, allocations: 156 kB / 409.4 MB, free: 4.953 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.561e-05/0.007802, allocations: 49.14 kB / 409.5 MB, free: 4.902 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.007809, allocations: 3.984 kB / 409.5 MB, free: 4.898 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.016e-05/0.007839, allocations: 36.73 kB / 409.5 MB, free: 4.859 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001156/0.007955, allocations: 16.75 kB / 409.5 MB, free: 4.844 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.008963, allocations: 206.1 kB / 409.7 MB, free: 4.609 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.424e-05/0.009007, allocations: 67.34 kB / 409.8 MB, free: 4.523 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.828e-05/0.009065, allocations: 63.38 kB / 409.9 MB, free: 4.461 MB / 394.7 MB Notification: Performance of SimCode: time 6.32e-07/0.009066, allocations: 0 / 409.9 MB, free: 4.461 MB / 394.7 MB Notification: Performance of Templates: time 0.002059/0.01113, allocations: 1.472 MB / 411.3 MB, free: 2.988 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2 > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.895516289398074]